--- a/src/pvr2/shaders.glsl Sat Mar 03 16:08:48 2012 +1000 +++ b/src/pvr2/shaders.glsl Tue Mar 20 08:29:38 2012 +1000 @@ -86,7 +86,9 @@ } #fragment DEFAULT_FRAGMENT_SHADER +#ifdef HAVE_GLES2 precision mediump float; +#endif uniform float alpha_ref; uniform sampler2D primary_texture; uniform sampler2D palette_texture; @@ -148,7 +150,10 @@ } #fragment BASIC_FRAGMENT_SHADER +#ifdef HAVE_GLES2 precision mediump float; +#endif + uniform sampler2D primary_texture; varying vec4 frag_colour; varying vec2 frag_texcoord;