Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: third_party/gles2_book/Chapter_9/TextureWrap/TextureWrap.c

Issue 551057: Commented out precision from shaders. These examples were done on my new desk... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/gles2_book/Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gles2_book/Chapter_9/TextureWrap/TextureWrap.c
===================================================================
--- third_party/gles2_book/Chapter_9/TextureWrap/TextureWrap.c (revision 36460)
+++ third_party/gles2_book/Chapter_9/TextureWrap/TextureWrap.c (working copy)
@@ -105,8 +105,9 @@
" v_texCoord = a_texCoord; \n"
"} \n";
+ // TODO(alokp): Shaders containing "precision" do not compile.
GLbyte fShaderStr[] =
- "precision mediump float; \n"
+ "//precision mediump float; \n"
"varying vec2 v_texCoord; \n"
"uniform sampler2D s_texture; \n"
"void main() \n"
« no previous file with comments | « third_party/gles2_book/Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698