Path-814: Corrected shader fragment compilation error.

meow-7.2.2
prep 2012-07-16 15:11:23 -04:00
parent 9128191713
commit 02a182867c
1 changed files with 4 additions and 2 deletions

View File

@ -24,12 +24,14 @@
*/
#ifdef DEFINE_GL_FRAGCOLOR
out vec4 gl_FragColor;
out vec4 frag_color;
#else
#define frag_color gl_FragColor
#endif
VARYING vec4 vertex_color;
void main()
{
gl_FragColor = vertex_color;
frag_color = vertex_color;
}