ensisoft / detonator

2D game engine and editor 💥💣
GNU General Public License v3.0
310 stars 13 forks source link

Add support for high DPI display rendering #84

Open ensisoft opened 2 years ago

ensisoft commented 2 years ago

Add support for high DPI display scaling.

What this means.

Also applies to fullscreen not just windowed mode.

ensisoft commented 2 months ago

Currently the windows native game host application is DPI "unaware". When the application runs Windows does content scaling automatically (at least in the windowed mode).

https://learn.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows#display-scale-factor--dpi