Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Changed SDL_INIT_EVERYTHING to only request currently-known subsystems.

  • Loading branch information
icculus committed Mar 8, 2013
1 parent 15296eb commit 9768ab7940677a343fbf6ddc76cd2bb0943f6b14
Showing with 4 additions and 1 deletion.
  1. +4 −1 include/SDL.h
@@ -114,7 +114,10 @@ extern "C" {
#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 \
)
/*@}*/

/**

0 comments on commit 9768ab7

Please sign in to comment.