mirror of
https://github.com/yawut/SDL.git
synced 2026-06-10 18:59:59 -05:00
Fixed a typo, we should set the driverdata if we are 3.2 or newer.
This commit is contained in:
parent
e30ec4d8ce
commit
aaf891d9c8
|
|
@ -178,7 +178,7 @@ UIKit_AddDisplay(UIScreen *uiscreen, int w, int h)
|
|||
|
||||
// UIScreenMode showed up in 3.2 (the iPad and later). We're
|
||||
// misusing this supports_multiple_displays flag here for that.
|
||||
if (!SDL_UIKit_supports_multiple_displays) {
|
||||
if (SDL_UIKit_supports_multiple_displays) {
|
||||
UIScreenMode *uimode = [uiscreen currentMode];
|
||||
[uimode retain]; // once for the desktop_mode
|
||||
[uimode retain]; // once for the current_mode
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user