Path-814: Corrected shader fragment compilation error.
parent
9128191713
commit
02a182867c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue