mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Renderer: Fix throttle-disable (TAB) hotkey when vsync is enabled
This commit is contained in:
parent
ff5e296576
commit
b01df8670f
7 changed files with 18 additions and 16 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue