From 10d6962af3412709765d5da1d65d79bbd19ef2c5 Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Wed, 29 Dec 1999 02:21:17 +0000 Subject: [PATCH] :%s/GLAPIENTRY/APIENTRY/g Again, who changed it back? Also undid my change to the changelog.. --- common/glquake2.h | 14 +++++++------- qw_client/glquake.h | 18 +++++++++--------- uquake/glquake.h | 20 ++++++++++---------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/common/glquake2.h b/common/glquake2.h index 68a5085..06ea6f7 100644 --- a/common/glquake2.h +++ b/common/glquake2.h @@ -33,15 +33,15 @@ void GL_EndRendering (void); // Function prototypes for the Texture Object Extension routines -typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, +typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, const GLboolean *); -typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint); -typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *); -typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *); -typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint); -typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *, +typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint); +typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *); +typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *); +typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint); +typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *, const GLclampf *); -typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *); +typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *); extern BINDTEXFUNCPTR bindTexFunc; extern DELTEXFUNCPTR delTexFunc; diff --git a/qw_client/glquake.h b/qw_client/glquake.h index d93a08d..a58a948 100644 --- a/qw_client/glquake.h +++ b/qw_client/glquake.h @@ -35,15 +35,15 @@ void GL_EndRendering (void); // Function prototypes for the Texture Object Extension routines -typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, +typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, const GLboolean *); -typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint); -typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *); -typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *); -typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint); -typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *, +typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint); +typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *); +typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *); +typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint); +typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *, const GLclampf *); -typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *); +typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *); extern BINDTEXFUNCPTR bindTexFunc; extern DELTEXFUNCPTR delTexFunc; @@ -238,8 +238,8 @@ void GL_Bind (int texnum); #define TEXTURE1_SGIS 0x835F #ifdef _WIN32 -typedef void (GLAPIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat); -typedef void (GLAPIENTRY *lpSelTexFUNC) (GLenum); +typedef void (APIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat); +typedef void (APIENTRY *lpSelTexFUNC) (GLenum); extern lpMTexFUNC qglMTexCoord2fSGIS; extern lpSelTexFUNC qglSelectTextureSGIS; #endif diff --git a/uquake/glquake.h b/uquake/glquake.h index cb9d144..256a234 100644 --- a/uquake/glquake.h +++ b/uquake/glquake.h @@ -38,15 +38,15 @@ void GL_EndRendering (void); #ifdef _WIN32 // Function prototypes for the Texture Object Extension routines -typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, +typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, const GLboolean *); -typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint); -typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *); -typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *); -typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint); -typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *, +typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint); +typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *); +typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *); +typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint); +typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *, const GLclampf *); -typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *); +typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *); extern BINDTEXFUNCPTR bindTexFunc; extern DELTEXFUNCPTR delTexFunc; @@ -239,11 +239,11 @@ void GL_Bind (int texnum); #define TEXTURE1_SGIS 0x835F #ifndef _WIN32 -#define GLAPIENTRY /* */ +#define APIENTRY /* */ #endif -typedef void (GLAPIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat); -typedef void (GLAPIENTRY *lpSelTexFUNC) (GLenum); +typedef void (APIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat); +typedef void (APIENTRY *lpSelTexFUNC) (GLenum); extern lpMTexFUNC qglMTexCoord2fSGIS; extern lpSelTexFUNC qglSelectTextureSGIS;