mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[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))) {
|
if (!::GetMonitorInfoW(hMonitor, reinterpret_cast<MONITORINFO*>(&monInfo))) {
|
||||||
Logger::err("Failed to query monitor info");
|
Logger::err("Failed to query monitor info");
|
||||||
return E_FAIL;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger::info(str::format("Setting display mode: ",
|
Logger::info(str::format("Setting display mode: ",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user