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 6981 8925ae6ab499
parent 6980 1d3565d686f1
child 6982 9987a9daefb6
Changed SDL_INIT_EVERYTHING to only request currently-known subsystems.
include/SDL.h
--- a/include/SDL.h	Fri Mar 08 10:09:51 2013 -0800
+++ b/include/SDL.h	Fri Mar 08 11:38:08 2013 -0500
@@ -114,7 +114,10 @@
 #define SDL_INIT_HAPTIC         0x00001000
 #define SDL_INIT_GAMECONTROLLER 0x00002000		/**< turn on game controller also implicitly does JOYSTICK */
 #define SDL_INIT_NOPARACHUTE    0x00100000      /**< Don't catch fatal signals */
-#define SDL_INIT_EVERYTHING     0x0000FFFF
+#define SDL_INIT_EVERYTHING ( \
+                SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | \
+                SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER \
+            )
 /*@}*/
 
 /**