diff --git a/main/main.cpp b/main/main.cpp index d9932e480ce..90d9abe5dbf 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -892,6 +892,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph } video_mode.use_vsync = GLOBAL_DEF("display/window/vsync/use_vsync", true); + OS::get_singleton()->_use_vsync = video_mode.use_vsync; GLOBAL_DEF("rendering/quality/intended_usage/framebuffer_allocation", 2); GLOBAL_DEF("rendering/quality/intended_usage/framebuffer_allocation.mobile", 3);