mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
correcting a few problems
This commit is contained in:
parent
d6c04ca25e
commit
4944cc31fb
1 changed files with 4 additions and 2 deletions
|
@ -152,6 +152,8 @@ typedef void (APIENTRY *lp3DFXFUNC) (int, int, int, int, int, const void*);
|
||||||
lp3DFXFUNC glColorTableEXT;
|
lp3DFXFUNC glColorTableEXT;
|
||||||
qboolean is8bit = false;
|
qboolean is8bit = false;
|
||||||
qboolean isPermedia = false;
|
qboolean isPermedia = false;
|
||||||
|
int gl_mtex_enum = TEXTURE0_SGIS;
|
||||||
|
qboolean gl_arb_mtex = false;
|
||||||
qboolean gl_mtexable = false;
|
qboolean gl_mtexable = false;
|
||||||
|
|
||||||
//====================================
|
//====================================
|
||||||
|
@ -567,9 +569,9 @@ void CheckMultiTextureExtensions(void)
|
||||||
{
|
{
|
||||||
Con_Printf ("GL_ARB_multitexture\n");
|
Con_Printf ("GL_ARB_multitexture\n");
|
||||||
qglMTexCoord2f =
|
qglMTexCoord2f =
|
||||||
(void *)wglGetProcAddress("glMTexCoord2fARB");
|
(void *)wglGetProcAddress("glMultiTexCoord2fARB");
|
||||||
qglSelectTexture =
|
qglSelectTexture =
|
||||||
(void *)wglGetProcAddress("glSelectTextureARB");
|
(void *)wglGetProcAddress("glActiveTextureARB");
|
||||||
gl_mtex_enum = GL_TEXTURE0_ARB;
|
gl_mtex_enum = GL_TEXTURE0_ARB;
|
||||||
gl_mtexable = true;
|
gl_mtexable = true;
|
||||||
gl_arb_mtex = true;
|
gl_arb_mtex = true;
|
||||||
|
|
Loading…
Reference in a new issue