mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-16 08:41:42 +00:00
s/APIENTRY/GLAPIENTRY/
We now REQUIRE mesa 3.1 to compile the GL stuff....
This commit is contained in:
parent
6eb0af1efd
commit
55891f5a7e
5 changed files with 27 additions and 28 deletions
|
@ -132,7 +132,7 @@ PROC glColorPointerEXT;
|
||||||
PROC glTexCoordPointerEXT;
|
PROC glTexCoordPointerEXT;
|
||||||
PROC glVertexPointerEXT;
|
PROC glVertexPointerEXT;
|
||||||
|
|
||||||
typedef void (APIENTRY *lp3DFXFUNC) (int, int, int, int, int, const void*);
|
typedef void (GLAPIENTRY *lp3DFXFUNC) (int, int, int, int, int, const void*);
|
||||||
lp3DFXFUNC glColorTableEXT;
|
lp3DFXFUNC glColorTableEXT;
|
||||||
qboolean is8bit = false;
|
qboolean is8bit = false;
|
||||||
qboolean isPermedia = false;
|
qboolean isPermedia = false;
|
||||||
|
|
|
@ -33,15 +33,15 @@ void GL_EndRendering (void);
|
||||||
|
|
||||||
|
|
||||||
// Function prototypes for the Texture Object Extension routines
|
// Function prototypes for the Texture Object Extension routines
|
||||||
typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
|
typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
|
||||||
const GLboolean *);
|
const GLboolean *);
|
||||||
typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
|
typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
|
||||||
typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
|
typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
|
||||||
typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
|
typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
|
||||||
typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint);
|
typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint);
|
||||||
typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
|
typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
|
||||||
const GLclampf *);
|
const GLclampf *);
|
||||||
typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
|
typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
|
||||||
|
|
||||||
extern BINDTEXFUNCPTR bindTexFunc;
|
extern BINDTEXFUNCPTR bindTexFunc;
|
||||||
extern DELTEXFUNCPTR delTexFunc;
|
extern DELTEXFUNCPTR delTexFunc;
|
||||||
|
|
|
@ -35,15 +35,15 @@ void GL_EndRendering (void);
|
||||||
|
|
||||||
|
|
||||||
// Function prototypes for the Texture Object Extension routines
|
// Function prototypes for the Texture Object Extension routines
|
||||||
typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
|
typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
|
||||||
const GLboolean *);
|
const GLboolean *);
|
||||||
typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
|
typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
|
||||||
typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
|
typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
|
||||||
typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
|
typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
|
||||||
typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint);
|
typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint);
|
||||||
typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
|
typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
|
||||||
const GLclampf *);
|
const GLclampf *);
|
||||||
typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
|
typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
|
||||||
|
|
||||||
extern BINDTEXFUNCPTR bindTexFunc;
|
extern BINDTEXFUNCPTR bindTexFunc;
|
||||||
extern DELTEXFUNCPTR delTexFunc;
|
extern DELTEXFUNCPTR delTexFunc;
|
||||||
|
@ -238,8 +238,8 @@ void GL_Bind (int texnum);
|
||||||
#define TEXTURE1_SGIS 0x835F
|
#define TEXTURE1_SGIS 0x835F
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
typedef void (APIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat);
|
typedef void (GLAPIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat);
|
||||||
typedef void (APIENTRY *lpSelTexFUNC) (GLenum);
|
typedef void (GLAPIENTRY *lpSelTexFUNC) (GLenum);
|
||||||
extern lpMTexFUNC qglMTexCoord2fSGIS;
|
extern lpMTexFUNC qglMTexCoord2fSGIS;
|
||||||
extern lpSelTexFUNC qglSelectTextureSGIS;
|
extern lpSelTexFUNC qglSelectTextureSGIS;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -188,4 +188,3 @@ clean:
|
||||||
-rm -rf $(TARGETS) $(BUILD_DIR)/server_obj
|
-rm -rf $(TARGETS) $(BUILD_DIR)/server_obj
|
||||||
-rmdir $(BUILD_DIR)
|
-rmdir $(BUILD_DIR)
|
||||||
@echo Done.
|
@echo Done.
|
||||||
|
|
||||||
|
|
|
@ -38,15 +38,15 @@ void GL_EndRendering (void);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// Function prototypes for the Texture Object Extension routines
|
// Function prototypes for the Texture Object Extension routines
|
||||||
typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
|
typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
|
||||||
const GLboolean *);
|
const GLboolean *);
|
||||||
typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
|
typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
|
||||||
typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
|
typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
|
||||||
typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
|
typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
|
||||||
typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint);
|
typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint);
|
||||||
typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
|
typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
|
||||||
const GLclampf *);
|
const GLclampf *);
|
||||||
typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
|
typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
|
||||||
|
|
||||||
extern BINDTEXFUNCPTR bindTexFunc;
|
extern BINDTEXFUNCPTR bindTexFunc;
|
||||||
extern DELTEXFUNCPTR delTexFunc;
|
extern DELTEXFUNCPTR delTexFunc;
|
||||||
|
@ -239,11 +239,11 @@ void GL_Bind (int texnum);
|
||||||
#define TEXTURE1_SGIS 0x835F
|
#define TEXTURE1_SGIS 0x835F
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#define APIENTRY /* */
|
#define GLAPIENTRY /* */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef void (APIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat);
|
typedef void (GLAPIENTRY *lpMTexFUNC) (GLenum, GLfloat, GLfloat);
|
||||||
typedef void (APIENTRY *lpSelTexFUNC) (GLenum);
|
typedef void (GLAPIENTRY *lpSelTexFUNC) (GLenum);
|
||||||
extern lpMTexFUNC qglMTexCoord2fSGIS;
|
extern lpMTexFUNC qglMTexCoord2fSGIS;
|
||||||
extern lpSelTexFUNC qglSelectTextureSGIS;
|
extern lpSelTexFUNC qglSelectTextureSGIS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue