Removed INIT_SENSOR from SDL2 initialization, to avoid older versions of SDL2 failing to initialize
This commit is contained in:
parent
8ed521d409
commit
e4904d3fb0
1 changed files with 1 additions and 2 deletions
|
@ -811,8 +811,7 @@ static int real_main2(int argc, TCHAR** argv)
|
|||
| SDL_INIT_JOYSTICK
|
||||
| SDL_INIT_HAPTIC
|
||||
| SDL_INIT_GAMECONTROLLER
|
||||
| SDL_INIT_EVENTS
|
||||
| SDL_INIT_SENSOR) != 0;
|
||||
| SDL_INIT_EVENTS) != 0;
|
||||
#elif USE_SDL2
|
||||
int ret = SDL_Init(SDL_INIT_EVERYTHING) != 0;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue