Mercurial > sdl-ios-xcode
diff src/video/SDL_sysvideo.h @ 3417:64a60c5d502e
Automatically initialize the video system and create a renderer to simplify use.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 28 Oct 2009 06:04:07 +0000 |
parents | 1ed5d432e468 |
children | 36cf454ba065 |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Wed Oct 28 04:33:24 2009 +0000 +++ b/src/video/SDL_sysvideo.h Wed Oct 28 06:04:07 2009 +0000 @@ -396,6 +396,7 @@ #endif #define SDL_CurrentDisplay (_this->displays[_this->current_display]) +#define SDL_CurrentRenderer (SDL_CurrentDisplay.current_renderer) extern SDL_VideoDevice *SDL_GetVideoDevice(); extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);