Skip to content

Commit

Permalink
Removed SDL_INIT_NOPARACHUTE
Browse files Browse the repository at this point in the history
Fixes #7121
  • Loading branch information
slouken committed Jan 22, 2023
1 parent e4fdf42 commit 9c8642d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/README-migration.md
Expand Up @@ -284,6 +284,9 @@ The following hints have been removed:
The following symbols have been renamed:
* SDL_INIT_GAMECONTROLLER => SDL_INIT_GAMEPAD

The following symbols have been removed:
* SDL_INIT_NOPARACHUTE

## SDL_joystick.h

SDL_JoystickID has changed from Sint32 to Uint32, with an invalid ID being 0.
Expand Down
4 changes: 0 additions & 4 deletions include/SDL3/SDL_init.h
Expand Up @@ -53,7 +53,6 @@ extern "C" {
#define SDL_INIT_GAMEPAD 0x00002000u /**< SDL_INIT_GAMEPAD implies SDL_INIT_JOYSTICK */
#define SDL_INIT_EVENTS 0x00004000u
#define SDL_INIT_SENSOR 0x00008000u
#define SDL_INIT_NOPARACHUTE 0x00100000u /**< compatibility; this flag is ignored. */
#define SDL_INIT_EVERYTHING ( \
SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMEPAD | SDL_INIT_SENSOR \
Expand Down Expand Up @@ -89,7 +88,6 @@ extern "C" {
* initializes the joystick subsystem
* - `SDL_INIT_EVENTS`: events subsystem
* - `SDL_INIT_EVERYTHING`: all of the above subsystems
* - `SDL_INIT_NOPARACHUTE`: compatibility; this flag is ignored
*
* Subsystem initialization is ref-counted, you must call SDL_QuitSubSystem()
* for each SDL_InitSubSystem() to correctly shutdown a subsystem manually (or
Expand Down Expand Up @@ -148,8 +146,6 @@ extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags);
* \returns a mask of all initialized subsystems if `flags` is 0, otherwise it
* returns the initialization status of the specified subsystems.
*
* The return value does not include SDL_INIT_NOPARACHUTE.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_Init
Expand Down

0 comments on commit 9c8642d

Please sign in to comment.