]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Remove explicit glflush right before buffer swap
authoruis <uis9936@gmail.com>
Sun, 14 Jan 2024 20:21:29 +0000 (23:21 +0300)
committeruis <uis9936@gmail.com>
Sun, 14 Jan 2024 20:21:29 +0000 (23:21 +0300)
Buffer swap generates implicit flush

cl_screen.c

index abde7491d46ee60e730a7c891418a01be47be255..7abdcac74172b818db6815caf870e662766b7970 100644 (file)
@@ -2939,9 +2939,6 @@ void CL_UpdateScreen(void)
        SCR_CaptureVideo();
 #endif
 
-       if (qglFlush)
-               qglFlush(); // FIXME: should we really be using qglFlush here?
-
        if (!vid_activewindow)
                VID_SetMouse(false, false, false);
        else if (key_consoleactive)