aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_glview.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/bin/test_glview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_glview.c b/legacy/elementary/src/bin/test_glview.c
index 76c95ef60f..a056fd3f6e 100644
--- a/legacy/elementary/src/bin/test_glview.c
+++ b/legacy/elementary/src/bin/test_glview.c
@@ -326,7 +326,9 @@ static const char vertex_shader[] =
"}\n";
static const char fragment_shader[] =
+ "#ifdef GL_ES\n"
"precision mediump float;\n"
+ "#endif\n"
"uniform vec4 color;\n"
"uniform vec3 light;\n"
"varying vec3 rotated_normal;\n"