]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
don't check for "wgl" as extension name
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 31 May 2009 11:26:07 +0000 (11:26 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 31 May 2009 11:26:07 +0000 (11:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9000 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index c714e0eb636134351f4fc7d4e58679a4bcdab432..2e02ec7b975e49dd28e3d32db3bbbae75ad76332 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -1113,7 +1113,7 @@ int VID_InitMode (int fullscreen, int *width, int *height, int bpp, int refreshr
                        return false;
                }
 
-               if (!GL_CheckExtension("wgl", wglfuncs, NULL, false))
+               if (!GL_CheckExtension("1.0", wglfuncs, NULL, false))
                {
                        VID_Shutdown();
                        Con_Print("wgl functions not found\n");