Files
Descent3/renderer/HardwareOpenGL.cpp
Louis Gombert f71236e70f Scale window using SDL_GetDisplayContentScale
Using high-DPI support with a scale factor would not scale the game window. We now take the scaling factor into account, so that the Descent3 game window is bigger if the user chooses a bigger scale factor. Also use the SDL_WINDOWPOS_UNDEFINED_DISPAY with display id, fixing the '-display' argument.

Read more here: https://wiki.libsdl.org/SDL3/README/highdpi
2025-02-17 22:45:04 +01:00

53 KiB