src/video/uikit/SDL_uikitopengles.m
changeset 10690 23a825f341e6
parent 10143 14719cd1bde2
child 10721 88943d97bf00
     1.1 --- a/src/video/uikit/SDL_uikitopengles.m	Fri Dec 09 01:29:52 2016 -0800
     1.2 +++ b/src/video/uikit/SDL_uikitopengles.m	Fri Dec 09 01:47:43 2016 -0800
     1.3 @@ -111,7 +111,7 @@
     1.4      return 0;
     1.5  }
     1.6  
     1.7 -void UIKit_GL_SwapWindow(_THIS, SDL_Window * window)
     1.8 +int UIKit_GL_SwapWindow(_THIS, SDL_Window * window)
     1.9  {
    1.10      @autoreleasepool {
    1.11          SDLEAGLContext *context = (__bridge SDLEAGLContext *) SDL_GL_GetCurrentContext();
    1.12 @@ -127,6 +127,7 @@
    1.13           * We don't pump events here because we don't want iOS application events
    1.14           * (low memory, terminate, etc.) to happen inside low level rendering. */
    1.15      }
    1.16 +    return 0;
    1.17  }
    1.18  
    1.19  SDL_GLContext