Automatically initialize the video system and create a renderer to simplify use.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404141
This commit is contained in:
parent
47997f877c
commit
6d92d75009
4 changed files with 232 additions and 71 deletions
|
@ -396,6 +396,7 @@ extern VideoBootStrap PND_bootstrap;
|
|||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue