correcting a few problems

This commit is contained in:
Thad Ward 2000-06-11 00:35:04 +00:00
parent d6c04ca25e
commit 4944cc31fb

View file

@ -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;