summaryrefslogtreecommitdiff
path: root/src/tests/evas/evas_test_evasgl.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-10-19 19:31:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-10-19 19:36:22 +0900
commit83b91dfd097c58574313bc2da9bd7bb18ff277f0 (patch)
treef97e36750f2203d17e6964e50dcea946ee759358 /src/tests/evas/evas_test_evasgl.c
parent28bee673043b775a489695e371cb539c947844c9 (diff)
Evas GL: Try to fix automated tests
I forgot the #ifdef in the shaders. This might be it. @stefan, try again please.
Diffstat (limited to 'src/tests/evas/evas_test_evasgl.c')
-rw-r--r--src/tests/evas/evas_test_evasgl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_evasgl.c b/src/tests/evas/evas_test_evasgl.c
index cba2192e7b..4d8d1c2ec7 100644
--- a/src/tests/evas/evas_test_evasgl.c
+++ b/src/tests/evas/evas_test_evasgl.c
@@ -285,14 +285,18 @@ _test_evasgl_fbo(const char *engine)
285 GLint status; 285 GLint status;
286 286
287 static const char *vertex = 287 static const char *vertex =
288 "#ifdef GL_ES\n"
288 "precision mediump float;\n" 289 "precision mediump float;\n"
290 "#endif\n"
289 "attribute vec4 vertex;\n" 291 "attribute vec4 vertex;\n"
290 "void main()\n" 292 "void main()\n"
291 "{\n" 293 "{\n"
292 " gl_Position = vertex;\n" 294 " gl_Position = vertex;\n"
293 "}\n"; 295 "}\n";
294 static const char *fragment = 296 static const char *fragment =
297 "#ifdef GL_ES\n"
295 "precision mediump float;\n" 298 "precision mediump float;\n"
299 "#endif\n"
296 "uniform vec4 color;\n" 300 "uniform vec4 color;\n"
297 "void main()\n" 301 "void main()\n"
298 "{\n" 302 "{\n"