GLES: Cut down on use of USING_GLES2.

This commit is contained in:
Unknown W. Brackets committed 2018-06-17 20:51:34 -07:00
1 parent da5f0f7f2b
commit 03edd6129a
6 files changed
+18 -32

No files matched your search

+2 -2
View File
@@ -54,9 +54,9 @@ static const char tex_fs[] =
"#define gl_FragColor fragColor0\n"
"out vec4 fragColor0;\n"
"#endif\n"
#ifdef USING_GLES2
"#ifdef GL_ES\n"
"precision mediump float;\n"
#endif
"#endif\n"
"uniform sampler2D sampler0;\n"
"varying vec2 v_texcoord0;\n"
"void main() {\n"