summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-17 10:04:26 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-17 10:04:26 +0900
commit22879fc1e709effb4be1c3a09f62ba217f2bb033 (patch)
tree2ab23f6e3a016c976ea1c9325617bf4ae9e33185
parenteb90dfbc279ff31f9a4e69ef001d36f2cc74521d (diff)
test - unify glsl formatting to match glview gears example
-rw-r--r--src/bin/test_glview_simple.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/test_glview_simple.c b/src/bin/test_glview_simple.c
index fb976f0ca..6047b9bcb 100644
--- a/src/bin/test_glview_simple.c
+++ b/src/bin/test_glview_simple.c
@@ -63,20 +63,20 @@ init_shaders(GLData *gld)
63{ 63{
64 Evas_GL_API *gl = gld->glapi; 64 Evas_GL_API *gl = gld->glapi;
65 GLbyte vShaderStr[] = 65 GLbyte vShaderStr[] =
66 "attribute vec4 vPosition; \n" 66 "attribute vec4 vPosition;\n"
67 "void main() \n" 67 "void main()\n"
68 "{ \n" 68 "{\n"
69 " gl_Position = vPosition; \n" 69 " gl_Position = vPosition;\n"
70 "} \n"; 70 "}\n";
71 71
72 GLbyte fShaderStr[] = 72 GLbyte fShaderStr[] =
73 "#ifdef GL_ES \n" 73 "#ifdef GL_ES\n"
74 "precision mediump float; \n" 74 "precision mediump float;\n"
75 "#endif \n" 75 "#endif\n"
76 "void main() \n" 76 "void main()\n"
77 "{ \n" 77 "{\n"
78 " gl_FragColor = vec4 ( 1.0, 0.0, 0.0, 1.0 );\n" 78 " gl_FragColor = vec4 ( 1.0, 0.0, 0.0, 1.0 );\n"
79 "} \n"; 79 "}\n";
80 80
81 GLint linked; 81 GLint linked;
82 82