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:
Jean-Philippe Andre 2015-10-19 19:31:10 +09:00
parent 28bee67304
commit 83b91dfd09
1 changed files with 4 additions and 0 deletions

View File

@ -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"