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
|
@ -735,7 +735,7 @@ void Renderer::OnConfigChanged(u32 bits)
|
|||
if (m_swap_chain && bits & CONFIG_CHANGE_BIT_VSYNC)
|
||||
{
|
||||
g_command_buffer_mgr->WaitForGPUIdle();
|
||||
m_swap_chain->SetVSync(g_ActiveConfig.IsVSync());
|
||||
m_swap_chain->SetVSync(g_ActiveConfig.bVSyncActive);
|
||||
}
|
||||
|
||||
// For quad-buffered stereo we need to change the layer count, so recreate the swap chain.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue