From: havoc Date: Sat, 1 Mar 2008 07:13:28 +0000 (+0000) Subject: init gl_extensions and gl_platformextensions to "" before fetching X-Git-Tag: xonotic-v0.1.0preview~2354 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2c15e1b10b1f7a62829958959a307ad8272ba87;p=xonotic%2Fdarkplaces.git init gl_extensions and gl_platformextensions to "" before fetching wglfuncs git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8170 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_wgl.c b/vid_wgl.c index 1309c12c..d876ad6c 100644 --- 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();