D3D12HostDisplay: Fix defaulting to vsync off

This commit is contained in:
Connor McLaughlin authored and refractionpcsx2 committed 2022-11-01 09:47:24 +00:00
1 parent 4463531f1e
commit 0b98c7a352
1 file changed
+1
+1
View File
@@ -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;