mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-22 20:30:22 +00:00
Old Spamsung devices running Gingerbread cannot handle dangerous characters like backslash '\' in their OpenGL shader parsers
This commit is contained in:
parent
bbf10565a8
commit
afc8c8bb24
@ -43,11 +43,8 @@ uniform sampler2D buttonTexture;
|
||||
#define OUTPUT_RED() \
|
||||
fragColor = vec4(1.0, 0.0, 0.0, 1.0)
|
||||
#else
|
||||
#define OUTPUT_TEXTURE(TEX) \
|
||||
vec4 tex = texture2D(TEX, varTexcoord.st, 0.0); \
|
||||
gl_FragColor = vec4(tex.r, tex.g, tex.b, tex.a*aValue)
|
||||
#define OUTPUT_RED() \
|
||||
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0)
|
||||
#define OUTPUT_TEXTURE(TEX) vec4 tex = texture2D(TEX, varTexcoord.st, 0.0); gl_FragColor = vec4(tex.r, tex.g, tex.b, tex.a*aValue)
|
||||
#define OUTPUT_RED() gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0)
|
||||
#endif
|
||||
|
||||
void main(void)
|
||||
|
Loading…
Reference in New Issue
Block a user