Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bobbyi
on Jan 17, 2022
|
parent
|
context
|
favorite
| on:
Making Your Game Go Fast by Asking Windows Nicely
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
on Jan 17, 2022
[–]
It'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
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: