From 4944cc31fb56211213d9f01e9ba381285078ba4e Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Sun, 11 Jun 2000 00:35:04 +0000 Subject: [PATCH] correcting a few problems --- source/vid_wgl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/vid_wgl.c b/source/vid_wgl.c index 0fcb187..0b58b2b 100644 --- a/source/vid_wgl.c +++ b/source/vid_wgl.c @@ -152,6 +152,8 @@ typedef void (APIENTRY *lp3DFXFUNC) (int, int, int, int, int, const void*); lp3DFXFUNC glColorTableEXT; qboolean is8bit = false; qboolean isPermedia = false; +int gl_mtex_enum = TEXTURE0_SGIS; +qboolean gl_arb_mtex = false; qboolean gl_mtexable = false; //==================================== @@ -567,9 +569,9 @@ void CheckMultiTextureExtensions(void) { Con_Printf ("GL_ARB_multitexture\n"); qglMTexCoord2f = - (void *)wglGetProcAddress("glMTexCoord2fARB"); + (void *)wglGetProcAddress("glMultiTexCoord2fARB"); qglSelectTexture = - (void *)wglGetProcAddress("glSelectTextureARB"); + (void *)wglGetProcAddress("glActiveTextureARB"); gl_mtex_enum = GL_TEXTURE0_ARB; gl_mtexable = true; gl_arb_mtex = true;