mirror of https://github.com/doitsujin/dxvk
[wsi] Fix return value of setMonitorDisplayMode
This commit is contained in:
parent
846db795f8
commit
1ea48558e5
|
@ -30,7 +30,7 @@ namespace dxvk::wsi {
|
|||
|
||||
if (!::GetMonitorInfoW(hMonitor, reinterpret_cast<MONITORINFO*>(&monInfo))) {
|
||||
Logger::err("Failed to query monitor info");
|
||||
return E_FAIL;
|
||||
return false;
|
||||
}
|
||||
|
||||
Logger::info(str::format("Setting display mode: ",
|
||||
|
|
Loading…
Reference in New Issue