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

Unified Diff: third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c

Issue 7448011: Initialized variables passed to GL functions. Command buffer now only allows initialized variable... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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/Common/Source/esShader.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 93075)
+++ third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c (working copy)
@@ -121,7 +121,7 @@
{ 1.0f, 1.0f, 0.0f, 0.0f }
};
- GLint numStencilBits;
+ GLint numStencilBits = 0;
GLuint stencilValues[NumTests] = {
0x7, // Result of test 0
0x0, // Result of test 1
« no previous file with comments | « no previous file | third_party/gles2_book/Common/Source/esShader.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698