mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
gl_vidnt.c (GL_MTexCoord2fFunc, GL_SelectTextureFunc): these aren't externs
in this file. made it to look like gl_vidsdl.c. glquake.h: removed commented out multitexture stuff. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@126 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7334c743a0
commit
3df0b9927d
2 changed files with 3 additions and 16 deletions
|
@ -131,8 +131,8 @@ PROC glVertexPointerEXT;
|
|||
|
||||
typedef void (APIENTRY *lp3DFXFUNC) (int, int, int, int, int, const void*);
|
||||
|
||||
extern MTEXCOORDFUNC GL_MTexCoord2fFunc = NULL; //johnfitz
|
||||
extern SELECTTEXFUNC GL_SelectTextureFunc = NULL; //johnfitz
|
||||
PFNGLMULTITEXCOORD2FARBPROC GL_MTexCoord2fFunc = NULL; //johnfitz
|
||||
PFNGLACTIVETEXTUREARBPROC GL_SelectTextureFunc = NULL; //johnfitz
|
||||
|
||||
typedef BOOL (APIENTRY * SETSWAPFUNC) (int); //johnfitz
|
||||
typedef int (APIENTRY * GETSWAPFUNC) (void); //johnfitz
|
||||
|
|
|
@ -168,24 +168,11 @@ extern const char *gl_extensions;
|
|||
// Multitexture
|
||||
#define TEXTURE0_SGIS 0x835E
|
||||
#define TEXTURE1_SGIS 0x835F
|
||||
|
||||
//#define APIENTRY /* */
|
||||
|
||||
//johnfitz -- modified multitexture support
|
||||
/*
|
||||
typedef void (APIENTRY *SELECTTEXFUNC) (GLenum);
|
||||
typedef void (APIENTRY *MTEXCOORDFUNC) (GLenum, GLfloat, GLfloat);
|
||||
extern MTEXCOORDFUNC GL_MTexCoord2fFunc;
|
||||
extern SELECTTEXFUNC GL_SelectTextureFunc;
|
||||
#define GL_TEXTURE0_ARB 0x84C0
|
||||
#define GL_TEXTURE1_ARB 0x84C1
|
||||
*/
|
||||
//johnfitz
|
||||
|
||||
|
||||
extern PFNGLMULTITEXCOORD2FARBPROC GL_MTexCoord2fFunc;
|
||||
extern PFNGLACTIVETEXTUREARBPROC GL_SelectTextureFunc;
|
||||
extern GLenum TEXTURE0, TEXTURE1;
|
||||
//johnfitz
|
||||
|
||||
//johnfitz -- anisotropic filtering
|
||||
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
|
||||
|
|
Loading…
Reference in a new issue