Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

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

  • Loading branch information
slouken committed Nov 8, 2011
1 parent 38fe7cf commit c00d25a58020c1d5ecd902c330860189f1e03d1c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/uikit/SDL_uikitvideo.m
@@ -178,7 +178,7 @@ static void UIKit_DeleteDevice(SDL_VideoDevice * device)

// 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

0 comments on commit c00d25a

Please sign in to comment.