Merge pull request #11590 from hrydgard/attempt-fix-glsl-depal

Attempt to fix glsl depal error reported in #11588 (ATI/AMD)
This commit is contained in:
Unknown W. Brackets authored and GitHub committed 2018-11-25 09:18:40 -05:00
commit 2582e3e89e
1 file changed
+1 -1
+1 -1
View File
@@ -252,7 +252,7 @@ void GenerateDepalShaderFloat(char *buffer, GEBufferFormat pixelFormat, ShaderLa
WRITE(p, "#version 100\n");
WRITE(p, "precision mediump float;\n");
} else {
WRITE(p, "#version 110\n");
WRITE(p, "#version %d\n", gl_extensions.GLSLVersion());
}
WRITE(p, "varying vec2 v_texcoord0;\n");
WRITE(p, "uniform sampler2D tex;\n");