mirror of https://github.com/PCSX2/pcsx2.git
D3D12HostDisplay: Fix defaulting to vsync off
This commit is contained in:
parent
4463531f1e
commit
0b98c7a352
|
@ -190,6 +190,7 @@ bool D3D12HostDisplay::CreateDevice(const WindowInfo& wi)
|
||||||
}
|
}
|
||||||
|
|
||||||
m_window_info = wi;
|
m_window_info = wi;
|
||||||
|
m_vsync_mode = Host::GetEffectiveVSyncMode();
|
||||||
|
|
||||||
if (m_window_info.type != WindowInfo::Type::Surfaceless && !CreateSwapChain(nullptr))
|
if (m_window_info.type != WindowInfo::Type::Surfaceless && !CreateSwapChain(nullptr))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue