Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3416:3d50171ac879 | 3417:64a60c5d502e |
---|---|
394 #if SDL_VIDEO_DRIVER_PANDORA | 394 #if SDL_VIDEO_DRIVER_PANDORA |
395 extern VideoBootStrap PND_bootstrap; | 395 extern VideoBootStrap PND_bootstrap; |
396 #endif | 396 #endif |
397 | 397 |
398 #define SDL_CurrentDisplay (_this->displays[_this->current_display]) | 398 #define SDL_CurrentDisplay (_this->displays[_this->current_display]) |
399 #define SDL_CurrentRenderer (SDL_CurrentDisplay.current_renderer) | |
399 | 400 |
400 extern SDL_VideoDevice *SDL_GetVideoDevice(); | 401 extern SDL_VideoDevice *SDL_GetVideoDevice(); |
401 extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode); | 402 extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode); |
402 extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display); | 403 extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display); |
403 extern SDL_bool | 404 extern SDL_bool |