summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-12-06 01:49:54 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-12-06 01:49:54 +0000
commit78c58413649838ff83e416e5a76d5cf15ee89b87 (patch)
treebb0decca59d040a00bf6967cd89f0c26172cd47e
parentcc140115965210d1d9aa37d6b91d4632381ab60a (diff)
s/APIENTRY/GLAPIENTRY/ for 1.5 functions
-rw-r--r--include/GL/gl.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index cc1bba1913..1f53ff4790 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -38,7 +38,7 @@
*/
#if !defined(__SCITECH_SNAP__)
-#include <malloc.h> /* to get ptrdiff_t, used below */
+#include <stddef.h> /* to get ptrdiff_t, used below */
#if defined(__BEOS__)
#include <stdlib.h> /* to get some BeOS-isms */
@@ -2376,17 +2376,17 @@ GLAPI void GLAPIENTRY glEndQuery(GLenum target);
GLAPI void GLAPIENTRY glGetQueryiv(GLenum target, GLenum pname, GLint *params);
GLAPI void GLAPIENTRY glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params);
GLAPI void GLAPIENTRY glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params);
-GLAPI void APIENTRY glBindBuffer(GLenum, GLuint);
-GLAPI void APIENTRY glDeleteBuffers(GLsizei, const GLuint *);
-GLAPI void APIENTRY glGenBuffers(GLsizei, GLuint *);
-GLAPI GLboolean APIENTRY glIsBuffer(GLuint);
-GLAPI void APIENTRY glBufferData(GLenum, GLsizeiptr, const GLvoid *, GLenum);
-GLAPI void APIENTRY glBufferSubData(GLenum, GLintptr, GLsizeiptr, const GLvoid *);
-GLAPI void APIENTRY glGetBufferSubData(GLenum, GLintptr, GLsizeiptr, GLvoid *);
-GLAPI GLvoid* APIENTRY glMapBuffer(GLenum, GLenum);
-GLAPI GLboolean APIENTRY glUnmapBuffer(GLenum);
-GLAPI void APIENTRY glGetBufferParameteriv(GLenum, GLenum, GLint *);
-GLAPI void APIENTRY glGetBufferPointerv(GLenum, GLenum, GLvoid* *);
+GLAPI void GLAPIENTRY glBindBuffer(GLenum, GLuint);
+GLAPI void GLAPIENTRY glDeleteBuffers(GLsizei, const GLuint *);
+GLAPI void GLAPIENTRY glGenBuffers(GLsizei, GLuint *);
+GLAPI GLboolean GLAPIENTRY glIsBuffer(GLuint);
+GLAPI void GLAPIENTRY glBufferData(GLenum, GLsizeiptr, const GLvoid *, GLenum);
+GLAPI void GLAPIENTRY glBufferSubData(GLenum, GLintptr, GLsizeiptr, const GLvoid *);
+GLAPI void GLAPIENTRY glGetBufferSubData(GLenum, GLintptr, GLsizeiptr, GLvoid *);
+GLAPI GLvoid* GLAPIENTRY glMapBuffer(GLenum, GLenum);
+GLAPI GLboolean GLAPIENTRY glUnmapBuffer(GLenum);
+GLAPI void GLAPIENTRY glGetBufferParameteriv(GLenum, GLenum, GLint *);
+GLAPI void GLAPIENTRY glGetBufferPointerv(GLenum, GLenum, GLvoid* *);
#endif
typedef void (APIENTRYP PFNGLGENQUERIESPROC)(GLsizei n, GLuint *ids);