Fix GL_ES #ifdef.

This commit is contained in:
Themaister 2013-05-12 12:33:59 +02:00
parent 179b374c39
commit b20c31dc3a

View File

@ -119,6 +119,9 @@ static const char *vertex_shader[] = {
};
static const char *fragment_shader[] = {
"#ifdef GL_ES\n",
"precision mediump float;\n",
"#endif\n",
"varying vec4 color;",
"void main() {",
" gl_FragColor = color;",