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

Unified Diff: third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.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 | « no previous file | third_party/gles2_book/Chapter_9/Simple_Texture2D/Simple_Texture2D.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c
===================================================================
--- third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c (revision 36460)
+++ third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c (working copy)
@@ -29,8 +29,9 @@
" gl_Position = a_position; \n"
"} \n";
+ // TODO(alokp): Shaders containing "precision" do not compile.
GLbyte fShaderStr[] =
- "precision mediump float; \n"
+ "//precision mediump float; \n"
"uniform vec4 u_color; \n"
"void main() \n"
"{ \n"
« no previous file with comments | « no previous file | third_party/gles2_book/Chapter_9/Simple_Texture2D/Simple_Texture2D.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698