mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
parent
3a1243b05e
commit
245007daba
@ -435,7 +435,7 @@ namespace dxvk {
|
|||||||
DEVMODEW devMode = DEVMODEW();
|
DEVMODEW devMode = DEVMODEW();
|
||||||
devMode.dmSize = sizeof(devMode);
|
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");
|
Logger::err("D3D9SwapChainEx::GetDisplayModeEx: Failed to enum display settings");
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user