SDL_INIT_NOPARACHUTE does nothing in SDL 2.0, so don't use it anymore

This commit is contained in:
Monster Iestyn 2017-09-15 21:22:28 +01:00
parent 5fb551dd75
commit dcb23e01c0

View file

@ -2252,9 +2252,9 @@ INT32 I_StartupSystem(void)
I_OutputMsg("Linked with SDL version: %d.%d.%d\n", I_OutputMsg("Linked with SDL version: %d.%d.%d\n",
SDLlinked.major, SDLlinked.minor, SDLlinked.patch); SDLlinked.major, SDLlinked.minor, SDLlinked.patch);
#if 0 //#ifdef GP2X //start up everything #if 0 //#ifdef GP2X //start up everything
if (SDL_Init(SDL_INIT_NOPARACHUTE|SDL_INIT_EVERYTHING) < 0) if (SDL_Init(SDL_INIT_EVERYTHING) < 0)
#else #else
if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0) if (SDL_Init(0) < 0)
#endif #endif
I_Error("SRB2: SDL System Error: %s", SDL_GetError()); //Alam: Oh no.... I_Error("SRB2: SDL System Error: %s", SDL_GetError()); //Alam: Oh no....
#ifndef NOMUMBLE #ifndef NOMUMBLE