mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
parent
3a1243b05e
commit
245007daba
@ -435,7 +435,7 @@ namespace dxvk {
|
||||
DEVMODEW devMode = DEVMODEW();
|
||||
devMode.dmSize = sizeof(devMode);
|
||||
|
||||
if (!GetMonitorDisplayMode(m_monitor, ENUM_CURRENT_SETTINGS, &devMode)) {
|
||||
if (!GetMonitorDisplayMode(GetDefaultMonitor(), ENUM_CURRENT_SETTINGS, &devMode)) {
|
||||
Logger::err("D3D9SwapChainEx::GetDisplayModeEx: Failed to enum display settings");
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user