blob: 645f77fab8cb24001ae1c7e9f72ff2cefaa2ef03 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#extension GL_ARB_fragment_coord_conventions : warn
void main()
{
#ifdef GL_ARB_fragment_coord_conventions
gl_FragColor = vec4(0.0, 1.0, 0.0, 0.0);
#else
gl_FragColor = vec4(1.0, 0.0, 0.0, 0.0);
#endif
}
|