Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - GL_OES_vertex_buffer_object extension incorrect defines.: Page 1 of 7 (7 Items)
   
GL_OES_vertex_buffer_object extension incorrect defines.  
GLES/glext.h contains definition of functions:

glBindBufferOES(), glDeleteBuffersOES(), glGenBuffersOES(), glIsBufferOES(), glBufferDataOES(), glBufferSubDataOES(), 
glGetBufferParameterivOES().

And defines for GL_OES_vertex_buffer_object extension:

#define GL_ARRAY_BUFFER                                         0x8892
#define GL_ELEMENT_ARRAY_BUFFER                                 0x8893
.... etc.

This is incorrect, since all defines must have _OES suffix, since it is an extension, not a part of OpenGL ES 1.0. 
Defines must be like this:

#define GL_ARRAY_BUFFER_OES                                        0x8892
#define GL_ELEMENT_ARRAY_BUFFER_OES                          0x8893
.... etc.