]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
init gl_extensions and gl_platformextensions to "" before fetching
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Mar 2008 07:13:28 +0000 (07:13 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Mar 2008 07:13:28 +0000 (07:13 +0000)
wglfuncs

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8170 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index 1309c12c3edb7f19233467f9e287dfd109f261cd..d876ad6cf4601d30b1ac659c3381e67e0aef34ae 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -1125,6 +1125,8 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp, int refreshrat
                        return false;
                }
 
+               gl_extensions = "";
+               gl_platformextensions = "";
                if (!GL_CheckExtension("wgl", wglfuncs, NULL, false))
                {
                        VID_Shutdown();