Migrate builtin macros to '__' prefix

This commit is contained in:
Jarcode
2019-03-14 21:51:58 -07:00
parent aa56b89ddf
commit 0acf7d4188
6 changed files with 18 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
#if PREMULTIPLY_ALPHA == 0
#if __PREMULTIPLY_ALPHA == 0
#error __disablestage
#endif
@@ -11,7 +11,5 @@ in vec4 gl_FragCoord;
void main() {
fragment = texelFetch(tex, ivec2(gl_FragCoord.x, gl_FragCoord.y), 0);
#if PREMULTIPLY_ALPHA > 0
fragment.rgb *= fragment.a;
#endif
}