From 9332316c2ad4e818da657e1f58fc5ed3c9e2c451 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 4 Oct 2019 10:46:52 +0300 Subject: [PATCH] - set initial vsync state after creation of framebuffer https://forum.zdoom.org/viewtopic.php?t=66020 --- src/rendering/v_video.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rendering/v_video.cpp b/src/rendering/v_video.cpp index bcda5920d..21993b46e 100644 --- a/src/rendering/v_video.cpp +++ b/src/rendering/v_video.cpp @@ -625,6 +625,7 @@ void V_Init2() menu_resolution_custom_width = SCREENWIDTH; menu_resolution_custom_height = SCREENHEIGHT; + screen->SetVSync(vid_vsync); screen->SetGamma (); FBaseCVar::ResetColors (); C_NewModeAdjust();