src/video/bwindow/SDL_bframebuffer.cc
changeset 7860 2b0bcdea3a79
parent 7037 3fedf1f25b94
equal deleted inserted replaced
7859:af63b63e7aac 7860:2b0bcdea3a79
    35 extern "C" {
    35 extern "C" {
    36 #endif
    36 #endif
    37 
    37 
    38 int32 BE_UpdateOnce(SDL_Window *window);
    38 int32 BE_UpdateOnce(SDL_Window *window);
    39 
    39 
    40 static inline SDL_BWin *_ToBeWin(SDL_Window *window) {
    40 static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
    41 	return ((SDL_BWin*)(window->driverdata));
    41 	return ((SDL_BWin*)(window->driverdata));
    42 }
    42 }
    43 
    43 
    44 static inline SDL_BApp *_GetBeApp() {
    44 static SDL_INLINE SDL_BApp *_GetBeApp() {
    45 	return ((SDL_BApp*)be_app);
    45 	return ((SDL_BApp*)be_app);
    46 }
    46 }
    47 
    47 
    48 int BE_CreateWindowFramebuffer(_THIS, SDL_Window * window,
    48 int BE_CreateWindowFramebuffer(_THIS, SDL_Window * window,
    49                                        Uint32 * format,
    49                                        Uint32 * format,