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

Unified Diff: third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.h

Issue 543015: Added simple vertex shader demo.... (Closed) Base URL: svn://chrome-svn/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
Index: third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.h
===================================================================
--- third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.h (revision 36016)
+++ third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.h (working copy)
@@ -28,10 +28,9 @@
// Uniform locations
GLint mvpLoc;
- // Vertex daata
- GLfloat *vertices;
- GLuint *indices;
- int numIndices;
+ // Vertex data
+ int numIndices;
+ GLuint vboIds[2];
// Rotation angle
GLfloat angle;

Powered by Google App Engine
This is Rietveld 408576698