comparison src/video/uikit/SDL_uikitwindow.m @ 5256:1b0de3574c58

Fixed compile in Xcode
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 10:18:34 -0800
parents 7a963be087ef
children b530ef003506
comparison
equal deleted inserted replaced
5255:f908e06b3c96 5256:1b0de3574c58
88 { 88 {
89 SDL_VideoDisplay *display = SDL_GetDisplayForWindow(window); 89 SDL_VideoDisplay *display = SDL_GetDisplayForWindow(window);
90 UIScreen *uiscreen = (UIScreen *) display->driverdata; 90 UIScreen *uiscreen = (UIScreen *) display->driverdata;
91 91
92 // SDL currently puts this window at the start of display's linked list. We rely on this. 92 // SDL currently puts this window at the start of display's linked list. We rely on this.
93 SDL_assert(display->windows == window); 93 SDL_assert(_this->windows == window);
94 94
95 /* We currently only handle a single window per display on iPhone */ 95 /* We currently only handle a single window per display on iPhone */
96 if (window->next != NULL) { 96 if (window->next != NULL) {
97 SDL_SetError("Only one window allowed per display."); 97 SDL_SetError("Only one window allowed per display.");
98 return -1; 98 return -1;