forked from enlightenment/efl
Evas GL: Try to fix automated tests
I forgot the #ifdef in the shaders. This might be it. @stefan, try again please.
This commit is contained in:
parent
28bee67304
commit
83b91dfd09
|
@ -285,14 +285,18 @@ _test_evasgl_fbo(const char *engine)
|
||||||
GLint status;
|
GLint status;
|
||||||
|
|
||||||
static const char *vertex =
|
static const char *vertex =
|
||||||
|
"#ifdef GL_ES\n"
|
||||||
"precision mediump float;\n"
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"void main()\n"
|
"void main()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" gl_Position = vertex;\n"
|
" gl_Position = vertex;\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
static const char *fragment =
|
static const char *fragment =
|
||||||
|
"#ifdef GL_ES\n"
|
||||||
"precision mediump float;\n"
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"uniform vec4 color;\n"
|
"uniform vec4 color;\n"
|
||||||
"void main()\n"
|
"void main()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
|
Loading…
Reference in New Issue