Changed SDL_INIT_EVERYTHING to only request currently-known subsystems.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 08 Mar 2013 11:38:08 -0500
changeset 69818925ae6ab499
parent 6980 1d3565d686f1
child 6982 9987a9daefb6
Changed SDL_INIT_EVERYTHING to only request currently-known subsystems.
include/SDL.h
     1.1 --- a/include/SDL.h	Fri Mar 08 10:09:51 2013 -0800
     1.2 +++ b/include/SDL.h	Fri Mar 08 11:38:08 2013 -0500
     1.3 @@ -114,7 +114,10 @@
     1.4  #define SDL_INIT_HAPTIC         0x00001000
     1.5  #define SDL_INIT_GAMECONTROLLER 0x00002000		/**< turn on game controller also implicitly does JOYSTICK */
     1.6  #define SDL_INIT_NOPARACHUTE    0x00100000      /**< Don't catch fatal signals */
     1.7 -#define SDL_INIT_EVERYTHING     0x0000FFFF
     1.8 +#define SDL_INIT_EVERYTHING ( \
     1.9 +                SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | \
    1.10 +                SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER \
    1.11 +            )
    1.12  /*@}*/
    1.13  
    1.14  /**