Fix GL_ES #ifdef.
This commit is contained in:
parent
179b374c39
commit
b20c31dc3a
|
@ -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;",
|
||||
|
|
Loading…
Reference in New Issue