diff --git a/src/video/Basic.fsh b/src/video/Basic.fsh index 7da5b57f..53e191da 100644 --- a/src/video/Basic.fsh +++ b/src/video/Basic.fsh @@ -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)