From b01df8670fd9cf0571230ca7f0e19611e71256dd Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 27 Jan 2019 12:24:53 +1000 Subject: Renderer: Fix throttle-disable (TAB) hotkey when vsync is enabled --- Source/Core/VideoBackends/Vulkan/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Vulkan/main.cpp') diff --git a/Source/Core/VideoBackends/Vulkan/main.cpp b/Source/Core/VideoBackends/Vulkan/main.cpp index 53c04c4e37..b5eeb51da6 100644 --- a/Source/Core/VideoBackends/Vulkan/main.cpp +++ b/Source/Core/VideoBackends/Vulkan/main.cpp @@ -213,8 +213,8 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) std::unique_ptr swap_chain; if (surface != VK_NULL_HANDLE) { - swap_chain = - SwapChain::Create(wsi.display_connection, wsi.render_surface, surface, g_Config.IsVSync()); + swap_chain = SwapChain::Create(wsi.display_connection, wsi.render_surface, surface, + g_ActiveConfig.bVSyncActive); if (!swap_chain) { PanicAlert("Failed to create Vulkan swap chain."); -- cgit v1.2.3