Fix vsync initialization

(cherry picked from commit 5c0a576630)
This commit is contained in:
Chaosus 2018-06-25 18:17:19 +03:00 committed by Hein-Pieter van Braam
parent c00c3f10a4
commit 11cbf850a4
1 changed files with 1 additions and 0 deletions

View File

@ -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);