]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added -novideosync disable for WGL swap control
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 3 Oct 2004 10:17:31 +0000 (10:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 3 Oct 2004 10:17:31 +0000 (10:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4579 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index d95526757ee2e0a18d300dd03271ef0aa14b8b8f..5b5cfd8b677bd2b84780d10f3fb0218fe70a5383 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -991,7 +991,7 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp)
        if (qwglGetExtensionsStringARB)
                gl_platformextensions = qwglGetExtensionsStringARB(hdc);
 
-       gl_videosyncavailable = GL_CheckExtension("WGL_EXT_swap_control", wglswapintervalfuncs, NULL, false);
+       gl_videosyncavailable = GL_CheckExtension("WGL_EXT_swap_control", wglswapintervalfuncs, "-novideosync", false);
        ReleaseDC(mainwindow, hdc);
 
        GL_Init ();