From 0ef098f6f735abe9cd8836c45c76bf5334179607 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 14 May 2000 00:53:11 +0000 Subject: [PATCH] api patch --- include/glquake.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/glquake.h b/include/glquake.h index 69297e0..1935195 100644 --- a/include/glquake.h +++ b/include/glquake.h @@ -30,13 +30,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +// Ender: HackHackHack +#ifndef GLAPIENTRY + #ifdef APIENTRY + #define GLAPIENTRY APIENTRY + #endif +#endif + void GL_BeginRendering (int *x, int *y, int *width, int *height); void GL_EndRendering (void); // Function prototypes for the Texture Object Extension routines -typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *, - const GLboolean *); +typedef GLboolean (GLAPIENTRY *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 *);