[UI] Reduce SetProcessDpiAwareness failure to warning.
This commit is contained in:
parent
d0d18ff570
commit
4ceafcdf68
|
@ -63,7 +63,7 @@ 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) {
|
||||||
XELOGE("Failed to set process DPI awareness. (code = 0x%.8X)", res);
|
XELOGW("Failed to set process DPI awareness. (code = 0x%.8X)", res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue