1
0
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:
Joshua Ashton 2022-09-07 17:56:24 +00:00 committed by Philip Rebohle
parent 846db795f8
commit 1ea48558e5

View File

@ -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: ",