]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_wgl.c
make DP run in wine again
[xonotic/darkplaces.git] / vid_wgl.c
index 2e02ec7b975e49dd28e3d32db3bbbae75ad76332..c714e0eb636134351f4fc7d4e58679a4bcdab432 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("1.0", wglfuncs, NULL, false))
+               if (!GL_CheckExtension("wgl", wglfuncs, NULL, false))
                {
                        VID_Shutdown();
                        Con_Print("wgl functions not found\n");