Index: third_party/gles2_book/Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.c |
=================================================================== |
--- third_party/gles2_book/Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.c (revision 36460) |
+++ third_party/gles2_book/Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.c (working copy) |
@@ -97,9 +97,10 @@ |
" gl_Position = a_position; \n" |
" v_normal = a_normal; \n" |
"} \n"; |
- |
+ |
+ // TODO(alokp): Shaders containing "precision" do not compile. |
GLbyte fShaderStr[] = |
- "precision mediump float; \n" |
+ "//precision mediump float; \n" |
"varying vec3 v_normal; \n" |
"uniform samplerCube s_texture; \n" |
"void main() \n" |