Vincent Caron wrote:
Which glext.h are you using ? The one from the official registry reads :
#ifndef GL_ARB_vertex_buffer_object
#define GL_ARB_vertex_buffer_object 1
/* GL types for handling large vertex buffer objects */
/* Only used by this extension for now; later needs to be moved earlier
in glext.h */
#include <stddef.h>
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
...
#endif
Which explains the piece of code in ngl.h.
I'm using this one (downloaded yesterday). It seems like the
preprocessor doesn't do its job.