diff --git a/osu.Game.Resources/Shaders/sh_Flashlight.h b/osu.Game.Resources/Shaders/sh_Flashlight.h index 3a2a258..5f411a2 100644 --- a/osu.Game.Resources/Shaders/sh_Flashlight.h +++ b/osu.Game.Resources/Shaders/sh_Flashlight.h @@ -1,19 +1,9 @@ -#ifdef GL_ES - precision mediump float; - // Not all GPUs support high precision, so we should fall back to medium precision. - #ifndef GL_FRAGMENT_PRECISION_HIGH - #define highp - #endif -#else - // Since glsl 1.1 doesn't define precision qualifiers but GL_ES does, - // Define them as nothing to avoid compilation issues. +#ifndef GL_ES #define lowp + #define mediump #define highp #endif - - - varying highp vec2 v_Position; varying lowp vec4 v_Colour;