jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=83b91dfd097c58574313bc2da9bd7bb18ff277f0

commit 83b91dfd097c58574313bc2da9bd7bb18ff277f0
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Oct 19 19:31:10 2015 +0900

    Evas GL: Try to fix automated tests
    
    I forgot the #ifdef in the shaders. This might be it. @stefan,
    try again please.
---
 src/tests/evas/evas_test_evasgl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/tests/evas/evas_test_evasgl.c 
b/src/tests/evas/evas_test_evasgl.c
index cba2192..4d8d1c2 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)
    GLint status;
 
    static const char *vertex =
+         "#ifdef GL_ES\n"
          "precision mediump float;\n"
+         "#endif\n"
          "attribute vec4 vertex;\n"
          "void main()\n"
          "{\n"
          "   gl_Position = vertex;\n"
          "}\n";
    static const char *fragment =
+         "#ifdef GL_ES\n"
          "precision mediump float;\n"
+         "#endif\n"
          "uniform vec4 color;\n"
          "void main()\n"
          "{\n"

-- 


Reply via email to