mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
D3D12HostDisplay: Fix defaulting to vsync off
This commit is contained in:
1 parent
4463531f1e
commit
0b98c7a352
1 file changed
+1
@@ -190,6 +190,7 @@ bool D3D12HostDisplay::CreateDevice(const WindowInfo& wi)
|
||||
}
|
||||
|
||||
m_window_info = wi;
|
||||
m_vsync_mode = Host::GetEffectiveVSyncMode();
|
||||
|
||||
if (m_window_info.type != WindowInfo::Type::Surfaceless && !CreateSwapChain(nullptr))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user