mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-24 15:04:00 +00:00
make travis happy (confirmed working with SDL1.2 + SDL2)
This commit is contained in:
parent
db054e7382
commit
e4b2ee6e70
1 changed files with 1 additions and 2 deletions
|
@ -538,7 +538,7 @@ void Core::init()
|
|||
// Don't want to use SDL_INIT_EVERYTHING, in case future changes to SDL add any flags.
|
||||
// Ie. At some point SDL2 added a sensors subsystem, which may cause SDL_Init() to fail
|
||||
// due to win10 group policies that forbid sensor usage. Probably similar things on OSX.
|
||||
unsigned sdlflags = SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_EVENTS;
|
||||
unsigned sdlflags = SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK;
|
||||
|
||||
quitNestedMainFlag = false;
|
||||
#ifdef BBGE_BUILD_SDL2
|
||||
|
@ -550,7 +550,6 @@ void Core::init()
|
|||
SDL_putenv((char *) "SDL_MOUSE_RELATIVE=0");
|
||||
#endif
|
||||
|
||||
// Haptic is inited separately, in Jostick.cpp, when a joystick is actually plugged in
|
||||
if((SDL_Init(sdlflags))==-1)
|
||||
{
|
||||
std::string msg("Failed to init SDL: ");
|
||||
|
|
Loading…
Add table
Reference in a new issue