3 ms·
ASSERT(SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2)); If ASSERT is a no-op in release mode then you're only getting your setting s
by bobbyi 5y ago
ASSERT(SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2));
If ASSERT is a no-op in release mode then you're only getting your setting set here while in debug mode
- masonremaley 5y agoIt's not, in my codebase, but I'll edit that when I have the chance so nobody blindly copy pastes it and ends up with something super broken