Fixed a typo, we should set the driverdata if we are 3.2 or newer.
authorSam Lantinga <slouken@libsdl.org>
Tue, 08 Nov 2011 00:02:47 -0500
changeset 60622e4a1b92dc6f
parent 6061 4746757951ac
child 6063 44cd82d8ea65
Fixed a typo, we should set the driverdata if we are 3.2 or newer.
src/video/uikit/SDL_uikitvideo.m
     1.1 --- a/src/video/uikit/SDL_uikitvideo.m	Mon Nov 07 23:10:49 2011 -0500
     1.2 +++ b/src/video/uikit/SDL_uikitvideo.m	Tue Nov 08 00:02:47 2011 -0500
     1.3 @@ -178,7 +178,7 @@
     1.4  
     1.5      // UIScreenMode showed up in 3.2 (the iPad and later). We're
     1.6      //  misusing this supports_multiple_displays flag here for that.
     1.7 -    if (!SDL_UIKit_supports_multiple_displays) {
     1.8 +    if (SDL_UIKit_supports_multiple_displays) {
     1.9          UIScreenMode *uimode = [uiscreen currentMode];
    1.10          [uimode retain];  // once for the desktop_mode
    1.11          [uimode retain];  // once for the current_mode