src/video/uikit/SDL_uikitvideo.m
changeset 6062 2e4a1b92dc6f
parent 6044 35448a5ea044
child 6073 9738f2a8eee4
--- a/src/video/uikit/SDL_uikitvideo.m	Mon Nov 07 23:10:49 2011 -0500
+++ b/src/video/uikit/SDL_uikitvideo.m	Tue Nov 08 00:02:47 2011 -0500
@@ -178,7 +178,7 @@
 
     // 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