This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Do not use UIScreenMode to add a iOS display, always use the boundary
This solves the problem that on iPad you would get 1024x768 instead of 768x1024 when calling SDL_GetDesktopDisplayMode(0, &mode) See Apple's doc for UIScreenMode where is says: "Most developers should never need to use the information provided by this class and should simply use the bounds provided by the UIScreen object for their drawing space."
- Loading branch information