mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 17:37:39 +00:00
Removed SDL_INIT_NOPARACHUTE
Fixes https://github.com/libsdl-org/SDL/issues/7121
This commit is contained in:
parent
e4fdf42097
commit
9c8642ded9
2 changed files with 3 additions and 4 deletions
|
@ -284,6 +284,9 @@ The following hints have been removed:
|
||||||
The following symbols have been renamed:
|
The following symbols have been renamed:
|
||||||
* SDL_INIT_GAMECONTROLLER => SDL_INIT_GAMEPAD
|
* SDL_INIT_GAMECONTROLLER => SDL_INIT_GAMEPAD
|
||||||
|
|
||||||
|
The following symbols have been removed:
|
||||||
|
* SDL_INIT_NOPARACHUTE
|
||||||
|
|
||||||
## SDL_joystick.h
|
## SDL_joystick.h
|
||||||
|
|
||||||
SDL_JoystickID has changed from Sint32 to Uint32, with an invalid ID being 0.
|
SDL_JoystickID has changed from Sint32 to Uint32, with an invalid ID being 0.
|
||||||
|
|
|
@ -53,7 +53,6 @@ extern "C" {
|
||||||
#define SDL_INIT_GAMEPAD 0x00002000u /**< SDL_INIT_GAMEPAD implies SDL_INIT_JOYSTICK */
|
#define SDL_INIT_GAMEPAD 0x00002000u /**< SDL_INIT_GAMEPAD implies SDL_INIT_JOYSTICK */
|
||||||
#define SDL_INIT_EVENTS 0x00004000u
|
#define SDL_INIT_EVENTS 0x00004000u
|
||||||
#define SDL_INIT_SENSOR 0x00008000u
|
#define SDL_INIT_SENSOR 0x00008000u
|
||||||
#define SDL_INIT_NOPARACHUTE 0x00100000u /**< compatibility; this flag is ignored. */
|
|
||||||
#define SDL_INIT_EVERYTHING ( \
|
#define SDL_INIT_EVERYTHING ( \
|
||||||
SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
|
SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
|
||||||
SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMEPAD | SDL_INIT_SENSOR \
|
SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMEPAD | SDL_INIT_SENSOR \
|
||||||
|
@ -89,7 +88,6 @@ extern "C" {
|
||||||
* initializes the joystick subsystem
|
* initializes the joystick subsystem
|
||||||
* - `SDL_INIT_EVENTS`: events subsystem
|
* - `SDL_INIT_EVENTS`: events subsystem
|
||||||
* - `SDL_INIT_EVERYTHING`: all of the above subsystems
|
* - `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()
|
* Subsystem initialization is ref-counted, you must call SDL_QuitSubSystem()
|
||||||
* for each SDL_InitSubSystem() to correctly shutdown a subsystem manually (or
|
* for each SDL_InitSubSystem() to correctly shutdown a subsystem manually (or
|
||||||
|
@ -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 a mask of all initialized subsystems if `flags` is 0, otherwise it
|
||||||
* returns the initialization status of the specified subsystems.
|
* 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.
|
* \since This function is available since SDL 3.0.0.
|
||||||
*
|
*
|
||||||
* \sa SDL_Init
|
* \sa SDL_Init
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue