D3D12HostDisplay: Fix defaulting to vsync off

This commit is contained in:
Connor McLaughlin 2022-10-31 20:42:31 +10:00 committed by refractionpcsx2
parent 4463531f1e
commit 0b98c7a352
1 changed files with 1 additions and 0 deletions

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;