Skip to content
Snippets Groups Projects
Commit 02a18286 authored by prep's avatar prep
Browse files

Path-814: Corrected shader fragment compilation error.

parent 91281917
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment