Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed a typo, we should set the driverdata if we are 3.2 or newer.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 8, 2011
1 parent 38fe7cf commit c00d25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/uikit/SDL_uikitvideo.m
Expand Up @@ -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
Expand Down

0 comments on commit c00d25a

Please sign in to comment.