include/SDL_syswm.h
branchiOS-improvements
changeset 9540 32ddc92d78cf
parent 9536 3c87b8f9dc58
child 9586 037074526d4c
     1.1 --- a/include/SDL_syswm.h	Wed Apr 08 15:59:29 2015 -0300
     1.2 +++ b/include/SDL_syswm.h	Thu Apr 09 19:28:00 2015 -0300
     1.3 @@ -98,6 +98,7 @@
     1.4  typedef struct _UIWindow UIWindow;
     1.5  typedef struct _UIViewController UIViewController;
     1.6  #endif
     1.7 +typedef Uint32 GLuint;
     1.8  #endif
     1.9  
    1.10  #if defined(SDL_VIDEO_DRIVER_ANDROID)
    1.11 @@ -228,6 +229,8 @@
    1.12  #else
    1.13              UIWindow *window;                     /* The UIKit window */
    1.14  #endif
    1.15 +            GLuint framebuffer; /* The GL view's Framebuffer Object. It must be bound when rendering to the screen using GL. */
    1.16 +            GLuint colorbuffer; /* The GL view's color Renderbuffer Object. It must be bound when SDL_GL_SwapWindow is called. */
    1.17          } uikit;
    1.18  #endif
    1.19  #if defined(SDL_VIDEO_DRIVER_WAYLAND)