WEBOS: Add WEBOS define
Using SDL_INIT_VIDEO flag for WebOS because without it the application won't start.
This commit is contained in:
parent
f8a73665d3
commit
72d206dc73
2 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,11 @@ void OSystem_SDL::initSDL() {
|
|||
uint32 sdlFlags = 0;
|
||||
if (ConfMan.hasKey("disable_sdl_parachute"))
|
||||
sdlFlags |= SDL_INIT_NOPARACHUTE;
|
||||
|
||||
#ifdef WEBOS
|
||||
// WebOS needs this flag or otherwise the application won't start
|
||||
sdlFlags |= SDL_INIT_VIDEO;
|
||||
#endif
|
||||
|
||||
// Initialize SDL (SDL Subsystems are initiliazed in the corresponding sdl managers)
|
||||
if (SDL_Init(sdlFlags) == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue