GLES2RICE: Fix for good this time the shader not compiling
authorptitSeb <sebastien.chev@gmail.com>
Sun, 22 Jun 2014 16:17:35 +0000 (18:17 +0200)
committerptitSeb <sebastien.chev@gmail.com>
Sun, 22 Jun 2014 16:17:35 +0000 (18:17 +0200)
source/gles2rice/src/OGLES2FragmentShaders.cpp

index b020d6d..1378720 100755 (executable)
@@ -74,11 +74,11 @@ const char *fragmentHeader =
 "uniform vec4 PrimFrac;                                     \n"\
 "uniform float AlphaRef;                                    \n"\
 "uniform vec4 FogColor;                                     \n"\
-"uniform vec2  FogMinMax;                                   \n"\
 "                                                           \n"\
 "varying lowp vec4  vShadeColor;                            \n"\
 "varying mediump vec2  vTexCoord0;                          \n"\
 "varying lowp vec2  vTexCoord1;                             \n"\
+"varying lowp float vFog;                                   \n"\
 "                                                           \n"\
 "void main()                                                \n"\
 "{                                                          \n"\