diff options
| author | JosJuice <josjuice@gmail.com> | 2019-01-31 22:44:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-31 22:44:10 +0100 |
| commit | c1492aeb45e471cd37cd562f3fc87c27ab0fcd4c (patch) | |
| tree | 5f46fc0539042a0b59323de07c7e944e1cf4f006 /Source/Core/VideoBackends/Vulkan/main.cpp | |
| parent | 9c38772301101c4cd0f2a7912c9314ce6492cb62 (diff) | |
| parent | b01df8670fd9cf0571230ca7f0e19611e71256dd (diff) | |
Merge pull request #7744 from stenzek/vsync
Renderer: Fix throttle-disable (TAB) hotkey when vsync is enabled
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/main.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<SwapChain> 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."); |
