Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Ubuntu 24.04 when running in a window, `SDL_GetVideoInfo` returns the display size rather than the window size, resulting in incorrect scaling. Using `SDL_GetVideoSurface` instead of `SDL_GetVideoInfo` fixes this.
- Loading branch information