Unbreak things (silly mistake in last commit, remove *2.0 factor which just can't be right)

This commit is contained in:
Henrik Rydgard committed 2013-07-06 22:50:06 +02:00
1 parent 9928bd762c
commit 79110638c9
3 files changed
+7 -3

No files matched your search

+5 -1
View File
@@ -172,7 +172,11 @@ void GenerateFragmentShader(char *buffer) {
WRITE(p, "uniform sampler2D tex;\n");
if (enableAlphaTest || enableColorTest) {
WRITE(p, "uniform highp vec4 u_alphacolorref;\n");
#if defined(GLSL_ES_1_0)
WRITE(p, "uniform mediump vec4 u_alphacolorref;\n");
#else
WRITE(p, "uniform vec4 u_alphacolorref;\n");
#endif
WRITE(p, "uniform vec4 u_colormask;\n");
}
if (gstate.isTextureMapEnabled())