diff options
author | Brian Paul <[email protected]> | 2009-03-04 20:26:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-04 20:26:23 -0700 |
commit | 5c18ff2bf85fe58e7709a342a5f2ac602d3e2e37 (patch) | |
tree | 54d85d7c152b4117acbfbd175105b3f14c8e3e0a /include/GL | |
parent | 34683150878e0af0859c94d0c1f0c4bf8395b042 (diff) |
fix incorrect prototype for glMapBufferRange() in glext.h
Needs to return void *
Diffstat (limited to 'include/GL')
-rw-r--r-- | include/GL/glext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h index c0941aa8044..4dc9f29bc57 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -5268,10 +5268,10 @@ typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divi #ifndef GL_ARB_map_buffer_range #define GL_ARB_map_buffer_range 1 #ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield); +GLAPI void * APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield); GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr); #endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void * (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); #endif |