Commit e2d1d0ae authored by Sam Lantinga's avatar Sam Lantinga

Fixed a typo, we should set the driverdata if we are 3.2 or newer.

parent 918d8540
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment