From 45ee1be6da0fc645327f26bfb02af9de5df0bace Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sat, 23 Jul 2022 15:57:20 -0500 Subject: [PATCH] VideoBackends:Metal: Properly set vsync on creation --- Source/Core/VideoBackends/Metal/MTLRenderer.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoBackends/Metal/MTLRenderer.mm b/Source/Core/VideoBackends/Metal/MTLRenderer.mm index 3639b01241..dba0c58d22 100644 --- a/Source/Core/VideoBackends/Metal/MTLRenderer.mm +++ b/Source/Core/VideoBackends/Metal/MTLRenderer.mm @@ -20,6 +20,7 @@ Metal::Renderer::Renderer(MRCOwned layer, int width, int height, m_layer(std::move(layer)) { UpdateActiveConfig(); + [m_layer setDisplaySyncEnabled:g_ActiveConfig.bVSyncActive]; } Metal::Renderer::~Renderer() = default;