MartinHelmut / cpp-gui-template-sdl2

C++ GUI starter project template with CMake and Cpack, Dear ImGui, and SDL2.
MIT License
71 stars 7 forks source link

`SDL_GetDisplayDPI` returns different result when compiled with MinGW #21

Open MartinHelmut opened 7 months ago

MartinHelmut commented 7 months ago

The SDL function SDL_GetDisplayDPI returns different DPI values when building with MinGW on high DPI displays compared to MSVC. The result is a blurry application. I could check if SDL3 handles this better, as it works differently, and upgrade the repo potentially.