From d2c15e1b10b1f7a62829958959a307ad8272ba87 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 1 Mar 2008 07:13:28 +0000 Subject: [PATCH] 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 --- vid_wgl.c | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.2