|author||Sam Lantinga <firstname.lastname@example.org>||Fri Apr 05 07:51:11 2019 -0700|
|committer||Sam Lantinga <email@example.com>||Fri Apr 05 07:51:11 2019 -0700|
https://bugzilla.libsdl.org/show_bug.cgi?id=4577 SDL_GetWindowDisplayMode was returning an incorrect result on iPhone Plus devices (tested on iOS 12.1/12.2). The problem was that the value returned by UIScreenMode was assumed to be the physical pixels on the display, rather than the scaled retina pixels. The fix is to use the scale returned by UIScreen.scale rather than the nativeScale.