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

Unified Diff: third_party/gles2_book/Common/Include/esUtil.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/Common/Include/esUtil.h
===================================================================
--- third_party/gles2_book/Common/Include/esUtil.h (revision 36016)
+++ third_party/gles2_book/Common/Include/esUtil.h (working copy)
@@ -95,7 +95,7 @@
/// if it is not NULL ) as a GL_TRIANGLE_STRIP
//
extern int esGenSphere ( int numSlices, float radius, GLfloat **vertices, GLfloat **normals,
- GLfloat **texCoords, GLuint **indices );
+ GLfloat **texCoords, GLushort **indices );
//
/// \brief Generates geometry for a cube. Allocates memory for the vertex data and stores
@@ -109,7 +109,7 @@
/// if it is not NULL ) as a GL_TRIANGLES
//
extern int esGenCube ( float scale, GLfloat **vertices, GLfloat **normals,
- GLfloat **texCoords, GLuint **indices );
+ GLfloat **texCoords, GLushort **indices );
//
/// \brief Loads a 24-bit TGA image from a file

Powered by Google App Engine
This is Rietveld 408576698