[UI] Log unsuccessful SPDA result as unsigned.
[UI] Log unsuccessful SetProcessDpiAwareness result as unsigned.
This commit is contained in:
parent
653931ec8f
commit
46ee68eb1d
|
@ -66,7 +66,8 @@ bool Win32Window::OnCreate() {
|
||||||
auto spda = (decltype(&SetProcessDpiAwareness))SetProcessDpiAwareness_;
|
auto spda = (decltype(&SetProcessDpiAwareness))SetProcessDpiAwareness_;
|
||||||
auto res = spda(PROCESS_PER_MONITOR_DPI_AWARE);
|
auto res = spda(PROCESS_PER_MONITOR_DPI_AWARE);
|
||||||
if (res != S_OK) {
|
if (res != S_OK) {
|
||||||
XELOGW("Failed to set process DPI awareness. (code = 0x{:08X})", res);
|
XELOGW("Failed to set process DPI awareness. (code = 0x{:08X})",
|
||||||
|
static_cast<uint32_t>(res));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue