Add better HDPI support #1490
Labels
cat: general
Category engine (client/server)
P3: Normal
Priority 3
📝 Task
Indirectly related to code: libs update, documentation
Milestone
Currently, on windows using HDPI and font scaling the game windows is also scaled, making its content blurry. This can be disabled by right clicking on the exe and explicitly disabling HDPI in the compatibility tab.
Fixing this on windows automatically requires some platform dependent call:
SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE)
.See:
There is a work-in-progress patch in SDL, that should make it easier/straightforward to disable HDPI stretching without any platform dependent API call, see:
This isn't available in the latest stable version of SDL yet.
Status on other platforms - especially Linux, is unknow.
For macOS, see
Until SDL handles this, as a temporary workaround, we can
The text was updated successfully, but these errors were encountered: