From ed0777cd8d5f478c6a3ba14ec42ed9a0e51c94c0 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 31 Oct 2020 14:16:22 +1000 Subject: [PATCH] OpenGLHostDisplay: Make sure vsync is on at startup --- src/frontend-common/opengl_host_display.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend-common/opengl_host_display.cpp b/src/frontend-common/opengl_host_display.cpp index 435375233..9a92c10c2 100644 --- a/src/frontend-common/opengl_host_display.cpp +++ b/src/frontend-common/opengl_host_display.cpp @@ -234,6 +234,9 @@ bool OpenGLHostDisplay::InitializeRenderDevice(std::string_view shader_cache_dir return false; #endif + // Start with vsync on. + SetVSync(true); + return true; }