From 76e55783a549839ba96b8aafc6d55c8451f950ce Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 3 Mar 2023 21:45:37 -0800
Subject: [PATCH] Updated to latest SDL 3.0 build
---
Xcode/SDL/SDL3.xcframework/Info.plist | 8 +-
.../SDL3.framework/CMake/sdl3-config.cmake | 2 +
.../SDL3.framework/Headers/SDL_assert.h | 4 +-
.../SDL3.framework/Headers/SDL_audio.h | 11 +-
.../SDL3.framework/Headers/SDL_error.h | 1 +
.../SDL3.framework/Headers/SDL_events.h | 23 ++--
.../SDL3.framework/Headers/SDL_gamepad.h | 8 +-
.../SDL3.framework/Headers/SDL_joystick.h | 3 +-
.../SDL3.framework/Headers/SDL_locale.h | 2 +-
.../SDL3.framework/Headers/SDL_main.h | 2 +-
.../SDL3.framework/Headers/SDL_oldnames.h | 2 +
.../SDL3.framework/Headers/SDL_render.h | 38 +++---
.../SDL3.framework/Headers/SDL_revision.h | 2 +-
.../SDL3.framework/Headers/SDL_shape.h | 16 +--
.../SDL3.framework/Headers/SDL_stdinc.h | 4 +-
.../SDL3.framework/Headers/SDL_surface.h | 4 +-
.../SDL3.framework/Headers/SDL_system.h | 3 +-
.../SDL3.framework/Headers/SDL_touch.h | 3 +-
.../SDL3.framework/Headers/SDL_video.h | 26 +++--
.../ios-arm64/SDL3.framework/SDL3 | Bin 1124824 -> 1124824 bytes
.../SDL3.framework/CMake/sdl3-config.cmake | 2 +
.../SDL3.framework/Headers/SDL_assert.h | 4 +-
.../SDL3.framework/Headers/SDL_audio.h | 11 +-
.../SDL3.framework/Headers/SDL_error.h | 1 +
.../SDL3.framework/Headers/SDL_events.h | 23 ++--
.../SDL3.framework/Headers/SDL_gamepad.h | 8 +-
.../SDL3.framework/Headers/SDL_joystick.h | 3 +-
.../SDL3.framework/Headers/SDL_locale.h | 2 +-
.../SDL3.framework/Headers/SDL_main.h | 2 +-
.../SDL3.framework/Headers/SDL_oldnames.h | 2 +
.../SDL3.framework/Headers/SDL_render.h | 38 +++---
.../SDL3.framework/Headers/SDL_revision.h | 2 +-
.../SDL3.framework/Headers/SDL_shape.h | 16 +--
.../SDL3.framework/Headers/SDL_stdinc.h | 4 +-
.../SDL3.framework/Headers/SDL_surface.h | 4 +-
.../SDL3.framework/Headers/SDL_system.h | 3 +-
.../SDL3.framework/Headers/SDL_touch.h | 3 +-
.../SDL3.framework/Headers/SDL_video.h | 26 +++--
.../SDL3.framework/SDL3 | Bin 2484528 -> 2484528 bytes
.../_CodeSignature/CodeResources | 108 +++++++++---------
.../Versions/A/Headers/SDL_assert.h | 4 +-
.../Versions/A/Headers/SDL_audio.h | 11 +-
.../Versions/A/Headers/SDL_error.h | 1 +
.../Versions/A/Headers/SDL_events.h | 23 ++--
.../Versions/A/Headers/SDL_gamepad.h | 8 +-
.../Versions/A/Headers/SDL_joystick.h | 3 +-
.../Versions/A/Headers/SDL_locale.h | 2 +-
.../Versions/A/Headers/SDL_main.h | 2 +-
.../Versions/A/Headers/SDL_oldnames.h | 2 +
.../Versions/A/Headers/SDL_render.h | 38 +++---
.../Versions/A/Headers/SDL_revision.h | 2 +-
.../Versions/A/Headers/SDL_shape.h | 16 +--
.../Versions/A/Headers/SDL_stdinc.h | 4 +-
.../Versions/A/Headers/SDL_surface.h | 4 +-
.../Versions/A/Headers/SDL_system.h | 3 +-
.../Versions/A/Headers/SDL_touch.h | 3 +-
.../Versions/A/Headers/SDL_video.h | 26 +++--
.../A/Resources/CMake/sdl3-config.cmake | 2 +
.../SDL3.framework/Versions/A/SDL3 | Bin 3268032 -> 3235056 bytes
.../Versions/A/_CodeSignature/CodeResources | 74 ++++++------
.../SDL3.framework/CMake/sdl3-config.cmake | 2 +
.../SDL3.framework/Headers/SDL_assert.h | 4 +-
.../SDL3.framework/Headers/SDL_audio.h | 11 +-
.../SDL3.framework/Headers/SDL_error.h | 1 +
.../SDL3.framework/Headers/SDL_events.h | 23 ++--
.../SDL3.framework/Headers/SDL_gamepad.h | 8 +-
.../SDL3.framework/Headers/SDL_joystick.h | 3 +-
.../SDL3.framework/Headers/SDL_locale.h | 2 +-
.../SDL3.framework/Headers/SDL_main.h | 2 +-
.../SDL3.framework/Headers/SDL_oldnames.h | 2 +
.../SDL3.framework/Headers/SDL_render.h | 38 +++---
.../SDL3.framework/Headers/SDL_revision.h | 2 +-
.../SDL3.framework/Headers/SDL_shape.h | 16 +--
.../SDL3.framework/Headers/SDL_stdinc.h | 4 +-
.../SDL3.framework/Headers/SDL_surface.h | 4 +-
.../SDL3.framework/Headers/SDL_system.h | 3 +-
.../SDL3.framework/Headers/SDL_touch.h | 3 +-
.../SDL3.framework/Headers/SDL_video.h | 26 +++--
.../tvos-arm64/SDL3.framework/SDL3 | Bin 1107568 -> 1107568 bytes
.../SDL3.framework/CMake/sdl3-config.cmake | 2 +
.../SDL3.framework/Headers/SDL_assert.h | 4 +-
.../SDL3.framework/Headers/SDL_audio.h | 11 +-
.../SDL3.framework/Headers/SDL_error.h | 1 +
.../SDL3.framework/Headers/SDL_events.h | 23 ++--
.../SDL3.framework/Headers/SDL_gamepad.h | 8 +-
.../SDL3.framework/Headers/SDL_joystick.h | 3 +-
.../SDL3.framework/Headers/SDL_locale.h | 2 +-
.../SDL3.framework/Headers/SDL_main.h | 2 +-
.../SDL3.framework/Headers/SDL_oldnames.h | 2 +
.../SDL3.framework/Headers/SDL_render.h | 38 +++---
.../SDL3.framework/Headers/SDL_revision.h | 2 +-
.../SDL3.framework/Headers/SDL_shape.h | 16 +--
.../SDL3.framework/Headers/SDL_stdinc.h | 4 +-
.../SDL3.framework/Headers/SDL_surface.h | 4 +-
.../SDL3.framework/Headers/SDL_system.h | 3 +-
.../SDL3.framework/Headers/SDL_touch.h | 3 +-
.../SDL3.framework/Headers/SDL_video.h | 26 +++--
.../SDL3.framework/SDL3 | Bin 2450672 -> 2450672 bytes
.../_CodeSignature/CodeResources | 108 +++++++++---------
99 files changed, 584 insertions(+), 484 deletions(-)
diff --git a/Xcode/SDL/SDL3.xcframework/Info.plist b/Xcode/SDL/SDL3.xcframework/Info.plist
index b1d7746..9b845d7 100644
--- a/Xcode/SDL/SDL3.xcframework/Info.plist
+++ b/Xcode/SDL/SDL3.xcframework/Info.plist
@@ -21,7 +21,7 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
- <string>tvos-arm64</string>
+ <string>ios-arm64</string>
<key>LibraryPath</key>
<string>SDL3.framework</string>
<key>SupportedArchitectures</key>
@@ -29,11 +29,11 @@
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
- <string>tvos</string>
+ <string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
- <string>ios-arm64</string>
+ <string>tvos-arm64</string>
<key>LibraryPath</key>
<string>SDL3.framework</string>
<key>SupportedArchitectures</key>
@@ -41,7 +41,7 @@
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
- <string>ios</string>
+ <string>tvos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/CMake/sdl3-config.cmake b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/CMake/sdl3-config.cmake
index 34c2e10..5a4e7b4 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/CMake/sdl3-config.cmake
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/CMake/sdl3-config.cmake
@@ -65,6 +65,8 @@ if(NOT TARGET SDL3::SDL3-shared)
IMPORTED_SONAME "${_sdl3_framework_path}/SDL3"
COMPATIBLE_INTERFACE_BOOL "SDL3_SHARED"
INTERFACE_SDL3_SHARED "ON"
+ COMPATIBLE_INTERFACE_STRING "SDL_VERSION"
+ INTERFACE_SDL_VERSION "SDL3"
)
endif()
set(SDL3_SDL3-shared_FOUND TRUE)
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_assert.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_assert.h
index e26faed..830fb3a 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_assert.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_assert.h
@@ -137,7 +137,9 @@ typedef struct SDL_AssertData
#if (SDL_ASSERT_LEVEL > 0)
/**
- * Never call this directly. Use the SDL_assert* macros.
+ * Never call this directly.
+ *
+ * Use the SDL_assert* macros.
*
* \param data assert data structure
* \param func function name
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_audio.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_audio.h
index e036803..bcac63d 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_audio.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_audio.h
@@ -90,11 +90,8 @@ typedef Uint16 SDL_AudioFormat;
/* @{ */
#define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */
#define AUDIO_S8 0x8008 /**< Signed 8-bit samples */
-#define AUDIO_U16LSB 0x0010 /**< Unsigned 16-bit samples */
#define AUDIO_S16LSB 0x8010 /**< Signed 16-bit samples */
-#define AUDIO_U16MSB 0x1010 /**< As above, but big-endian byte order */
#define AUDIO_S16MSB 0x9010 /**< As above, but big-endian byte order */
-#define AUDIO_U16 AUDIO_U16LSB
#define AUDIO_S16 AUDIO_S16LSB
/* @} */
@@ -121,12 +118,10 @@ typedef Uint16 SDL_AudioFormat;
*/
/* @{ */
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
-#define AUDIO_U16SYS AUDIO_U16LSB
#define AUDIO_S16SYS AUDIO_S16LSB
#define AUDIO_S32SYS AUDIO_S32LSB
#define AUDIO_F32SYS AUDIO_F32LSB
#else
-#define AUDIO_U16SYS AUDIO_U16MSB
#define AUDIO_S16SYS AUDIO_S16MSB
#define AUDIO_S32SYS AUDIO_S32MSB
#define AUDIO_F32SYS AUDIO_F32MSB
@@ -811,7 +806,7 @@ extern DECLSPEC int SDLCALL SDL_FlushAudioStream(SDL_AudioStream *stream);
/**
* Clear any pending data in the stream without converting it
*
- * \param stream The audio stream to clear
+ * \param stream The audio stream to clear
* \returns 0 on success or a negative error code on failure; call
* SDL_GetError() for more information.
*
@@ -830,6 +825,7 @@ extern DECLSPEC int SDLCALL SDL_ClearAudioStream(SDL_AudioStream *stream);
* Free an audio stream
*
* \param stream The audio stream to free
+ *
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_CreateAudioStream
@@ -1149,7 +1145,8 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
* \param dst_channels The number of channels of the desired audio output
* \param dst_rate The sampling rate of the desired audio output
* \param dst_data Will be filled with a pointer to converted audio data,
- * which should be freed with SDL_free(). On error, it will be NULL.
+ * which should be freed with SDL_free(). On error, it will be
+ * NULL.
* \param dst_len Will be filled with the len of dst_data
* \returns 0 on success or a negative error code on failure; call
* SDL_GetError() for more information.
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_error.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_error.h
index 1658f2f..9440f42 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_error.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_error.h
@@ -148,6 +148,7 @@ typedef enum
SDL_UNSUPPORTED,
SDL_LASTERROR
} SDL_errorcode;
+
/**
* SDL_Error()
*
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_events.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_events.h
index 2289160..8e35e28 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_events.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_events.h
@@ -93,8 +93,9 @@ typedef enum
SDL_EVENT_DISPLAY_CONNECTED, /**< Display has been added to the system */
SDL_EVENT_DISPLAY_DISCONNECTED, /**< Display has been removed from the system */
SDL_EVENT_DISPLAY_MOVED, /**< Display has changed position */
+ SDL_EVENT_DISPLAY_SCALE_CHANGED, /**< Display has changed desktop display scale */
SDL_EVENT_DISPLAY_FIRST = SDL_EVENT_DISPLAY_ORIENTATION,
- SDL_EVENT_DISPLAY_LAST = SDL_EVENT_DISPLAY_DISCONNECTED,
+ SDL_EVENT_DISPLAY_LAST = SDL_EVENT_DISPLAY_SCALE_CHANGED,
/* Window events */
/* 0x200 was SDL_WINDOWEVENT, reserve the number for sdl2-compat */
@@ -405,7 +406,7 @@ typedef struct SDL_JoyBatteryEvent
} SDL_JoyBatteryEvent;
/**
- * \brief Gamepad axis motion event structure (event.caxis.*)
+ * \brief Gamepad axis motion event structure (event.gaxis.*)
*/
typedef struct SDL_GamepadAxisEvent
{
@@ -422,7 +423,7 @@ typedef struct SDL_GamepadAxisEvent
/**
- * \brief Gamepad button event structure (event.cbutton.*)
+ * \brief Gamepad button event structure (event.gbutton.*)
*/
typedef struct SDL_GamepadButtonEvent
{
@@ -437,7 +438,7 @@ typedef struct SDL_GamepadButtonEvent
/**
- * \brief Gamepad device event structure (event.cdevice.*)
+ * \brief Gamepad device event structure (event.gdevice.*)
*/
typedef struct SDL_GamepadDeviceEvent
{
@@ -447,7 +448,7 @@ typedef struct SDL_GamepadDeviceEvent
} SDL_GamepadDeviceEvent;
/**
- * \brief Gamepad touchpad event structure (event.ctouchpad.*)
+ * \brief Gamepad touchpad event structure (event.gtouchpad.*)
*/
typedef struct SDL_GamepadTouchpadEvent
{
@@ -462,7 +463,7 @@ typedef struct SDL_GamepadTouchpadEvent
} SDL_GamepadTouchpadEvent;
/**
- * \brief Gamepad sensor event structure (event.csensor.*)
+ * \brief Gamepad sensor event structure (event.gsensor.*)
*/
typedef struct SDL_GamepadSensorEvent
{
@@ -602,11 +603,11 @@ typedef union SDL_Event
SDL_JoyButtonEvent jbutton; /**< Joystick button event data */
SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */
SDL_JoyBatteryEvent jbattery; /**< Joystick battery event data */
- SDL_GamepadAxisEvent caxis; /**< Gamepad axis event data */
- SDL_GamepadButtonEvent cbutton; /**< Gamepad button event data */
- SDL_GamepadDeviceEvent cdevice; /**< Gamepad device event data */
- SDL_GamepadTouchpadEvent ctouchpad; /**< Gamepad touchpad event data */
- SDL_GamepadSensorEvent csensor; /**< Gamepad sensor event data */
+ SDL_GamepadAxisEvent gaxis; /**< Gamepad axis event data */
+ SDL_GamepadButtonEvent gbutton; /**< Gamepad button event data */
+ SDL_GamepadDeviceEvent gdevice; /**< Gamepad device event data */
+ SDL_GamepadTouchpadEvent gtouchpad; /**< Gamepad touchpad event data */
+ SDL_GamepadSensorEvent gsensor; /**< Gamepad sensor event data */
SDL_AudioDeviceEvent adevice; /**< Audio device event data */
SDL_SensorEvent sensor; /**< Sensor event data */
SDL_QuitEvent quit; /**< Quit request event data */
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_gamepad.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_gamepad.h
index 9ec44f5..db87495 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_gamepad.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_gamepad.h
@@ -162,8 +162,12 @@ typedef struct SDL_GamepadBinding
* string value from SDL_GetJoystickGUIDString(), name is the human readable
* string for the device and mappings are gamepad mappings to joystick ones.
* Under Windows there is a reserved GUID of "xinput" that covers all XInput
- * devices. The mapping format for joystick is: {| |bX |a joystick button,
- * index X |- |hX.Y |hat X with value Y |- |aX |axis X of the joystick |}
+ * devices. The mapping format for joystick is:
+ *
+ * - `bX`: a joystick button, index X
+ * - `hX.Y`: hat X with value Y
+ * - `aX`: axis X of the joystick
+ *
* Buttons can be used as a gamepad axes and vice versa.
*
* This string shows an example of a valid mapping for a gamepad:
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_joystick.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_joystick.h
index 005a072..92da0ce 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_joystick.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_joystick.h
@@ -918,7 +918,8 @@ extern DECLSPEC int SDLCALL SDL_RumbleJoystickTriggers(SDL_Joystick *joystick, U
* DualShock 4 controller.
*
* \param joystick The joystick to query
- * \returns SDL_TRUE if the joystick has a modifiable LED, SDL_FALSE otherwise.
+ * \returns SDL_TRUE if the joystick has a modifiable LED, SDL_FALSE
+ * otherwise.
*
* \since This function is available since SDL 3.0.0.
*/
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_locale.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_locale.h
index d8c1842..ebf965e 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_locale.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_locale.h
@@ -84,7 +84,7 @@ typedef struct SDL_Locale
* preferred locales.
*
* \returns array of locales, terminated with a locale with a NULL language
- * field. Will return NULL on error.
+ * field. Will return NULL on error.
*
* \since This function is available since SDL 3.0.0.
*/
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_main.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_main.h
index 6954bd3..2e560b0 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_main.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_main.h
@@ -192,7 +192,7 @@ extern DECLSPEC void SDLCALL SDL_SetMainReady(void);
* \param reserved should be NULL (reserved for future use, will probably be
* platform-specific then)
* \returns the return value from mainFunction: 0 on success, -1 on failure;
- * SDL_GetError() might have more information on the failure
+ * SDL_GetError() might have more information on the failure
*
* \since This function is available since SDL 3.0.0.
*/
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_oldnames.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_oldnames.h
index eeab931..5676ddc 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_oldnames.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_oldnames.h
@@ -429,6 +429,7 @@
#define SDL_GetRectDisplayIndex SDL_GetDisplayForRect
#define SDL_GetWindowDisplayIndex SDL_GetDisplayForWindow
#define SDL_GetWindowDisplayMode SDL_GetWindowFullscreenMode
+#define SDL_IsScreenSaverEnabled SDL_ScreenSaverEnabled
#define SDL_SetWindowDisplayMode SDL_SetWindowFullscreenMode
#define SDL_WINDOW_INPUT_GRABBED SDL_WINDOW_MOUSE_GRABBED
@@ -825,6 +826,7 @@
#define SDL_GetRectDisplayIndex SDL_GetRectDisplayIndex_renamed_SDL_GetDisplayForRect
#define SDL_GetWindowDisplayIndex SDL_GetWindowDisplayIndex_renamed_SDL_GetDisplayForWindow
#define SDL_GetWindowDisplayMode SDL_GetWindowDisplayMode_renamed_SDL_GetWindowFullscreenMode
+#define SDL_IsScreenSaverEnabled SDL_IsScreenSaverEnabled_renamed_SDL_ScreenSaverEnabled
#define SDL_SetWindowDisplayMode SDL_SetWindowDisplayMode_renamed_SDL_SetWindowFullscreenMode
#define SDL_WINDOW_INPUT_GRABBED SDL_WINDOW_INPUT_GRABBED_renamed_SDL_WINDOW_MOUSE_GRABBED
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_render.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_render.h
index 1eea867..766a727 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_render.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_render.h
@@ -235,9 +235,9 @@ extern DECLSPEC int SDLCALL SDL_CreateWindowAndRenderer(int width, int height, U
* need a specific renderer, specify NULL and SDL will attempt to chooes the
* best option for you, based on what is available on the user's system.
*
- * By default the rendering size matches the window size in screen coordinates,
- * but you can call SDL_SetRenderLogicalPresentation() to enable high DPI
- * rendering or change the content size and scaling options.
+ * By default the rendering size matches the window size in screen
+ * coordinates, but you can call SDL_SetRenderLogicalPresentation() to enable
+ * high DPI rendering or change the content size and scaling options.
*
* \param window the window where rendering is displayed
* \param name the name of the rendering driver to initialize, or NULL to
@@ -337,8 +337,8 @@ extern DECLSPEC int SDLCALL SDL_GetRenderWindowSize(SDL_Renderer *renderer, int
/**
* Get the output size in pixels of a rendering context.
*
- * This returns the true output size in pixels, ignoring any render targets
- * or logical size and presentation.
+ * This returns the true output size in pixels, ignoring any render targets or
+ * logical size and presentation.
*
* \param renderer the rendering context
* \param w a pointer filled in with the width in pixels
@@ -355,9 +355,9 @@ extern DECLSPEC int SDLCALL SDL_GetRenderOutputSize(SDL_Renderer *renderer, int
/**
* Get the current output size in pixels of a rendering context.
*
- * If a rendering target is active, this will return the size of the
- * rendering target in pixels, otherwise if a logical size is set, it will
- * return the logical size, otherwise it will return the value of
+ * If a rendering target is active, this will return the size of the rendering
+ * target in pixels, otherwise if a logical size is set, it will return the
+ * logical size, otherwise it will return the value of
* SDL_GetRenderOutputSize().
*
* \param renderer the rendering context
@@ -610,7 +610,7 @@ extern DECLSPEC int SDLCALL SDL_SetTextureUserData(SDL_Texture *texture, void *u
*
* \param texture the texture to query.
* \returns the pointer associated with the texture, or NULL if the texture is
- * not valid.
+ * not valid.
*
* \since This function is available since SDL 3.0.0.
*
@@ -836,9 +836,9 @@ extern DECLSPEC SDL_Texture *SDLCALL SDL_GetRenderTarget(SDL_Renderer *renderer)
/**
* Set a device independent resolution and presentation mode for rendering.
*
- * This function sets the width and height of the logical rendering output.
- * A render target is created at the specified size and used for rendering
- * and then copied to the output during presentation.
+ * This function sets the width and height of the logical rendering output. A
+ * render target is created at the specified size and used for rendering and
+ * then copied to the output during presentation.
*
* When a renderer is created, the logical size is set to match the window
* size in screen coordinates. The actual output size may be higher pixel
@@ -869,8 +869,8 @@ extern DECLSPEC int SDLCALL SDL_SetRenderLogicalPresentation(SDL_Renderer *rende
/**
* Get device independent resolution and presentation mode for rendering.
*
- * This function gets the width and height of the logical rendering output,
- * or the output size in pixels if a logical resolution is not enabled.
+ * This function gets the width and height of the logical rendering output, or
+ * the output size in pixels if a logical resolution is not enabled.
*
* \param renderer the rendering context
* \param w an int to be filled with the width
@@ -910,8 +910,10 @@ extern DECLSPEC int SDLCALL SDL_RenderCoordinatesFromWindow(SDL_Renderer *render
* \param renderer the rendering context
* \param x the x coordinate in render coordinates
* \param y the y coordinate in render coordinates
- * \param window_x a pointer filled with the x coordinate in window coordinates
- * \param window_y a pointer filled with the y coordinate in window coordinates
+ * \param window_x a pointer filled with the x coordinate in window
+ * coordinates
+ * \param window_y a pointer filled with the y coordinate in window
+ * coordinates
* \returns 0 on success or a negative error code on failure; call
* SDL_GetError() for more information.
*
@@ -1280,7 +1282,7 @@ extern DECLSPEC int SDLCALL SDL_RenderFillRects(SDL_Renderer *renderer, const SD
*
* \since This function is available since SDL 3.0.0.
*/
-extern DECLSPEC int SDLCALL SDL_RenderTexture(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_Rect *srcrect, const SDL_FRect *dstrect);
+extern DECLSPEC int SDLCALL SDL_RenderTexture(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_FRect *srcrect, const SDL_FRect *dstrect);
/**
* Copy a portion of the source texture to the current rendering target, with
@@ -1305,7 +1307,7 @@ extern DECLSPEC int SDLCALL SDL_RenderTexture(SDL_Renderer *renderer, SDL_Textur
* \since This function is available since SDL 3.0.0.
*/
extern DECLSPEC int SDLCALL SDL_RenderTextureRotated(SDL_Renderer *renderer, SDL_Texture *texture,
- const SDL_Rect *srcrect, const SDL_FRect *dstrect,
+ const SDL_FRect *srcrect, const SDL_FRect *dstrect,
const double angle, const SDL_FPoint *center,
const SDL_RendererFlip flip);
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_revision.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_revision.h
index d77f3a1..67a2a2b 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_revision.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_revision.h
@@ -34,4 +34,4 @@
#define SDL_REVISION ""
#endif
-#endif /* SDL_revision_h_ */
\ No newline at end of file
+#endif /* SDL_revision_h_ */
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_shape.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_shape.h
index 36fa1ed..964556a 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_shape.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_shape.h
@@ -72,8 +72,8 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_CreateShapedWindow(const char *title,un
* Return whether the given window is a shaped window.
*
* \param window The window to query for being shaped.
- * \returns SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if
- * the window is unshaped or NULL.
+ * \returns SDL_TRUE if the window is a window that can be shaped, SDL_FALSE
+ * if the window is unshaped or NULL.
*
* \since This function is available since SDL 3.0.0.
*
@@ -117,8 +117,8 @@ typedef struct SDL_WindowShapeMode {
* \param shape A surface encoding the desired shape for the window.
* \param shape_mode The parameters to set for the shaped window.
* \returns 0 on success, SDL_INVALID_SHAPE_ARGUMENT on an invalid shape
- * argument, or SDL_NONSHAPEABLE_WINDOW if the SDL_Window given does
- * not reference a valid shaped window.
+ * argument, or SDL_NONSHAPEABLE_WINDOW if the SDL_Window given does
+ * not reference a valid shaped window.
*
* \since This function is available since SDL 3.0.0.
*
@@ -134,10 +134,10 @@ extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *s
* \param shape_mode An empty shape-mode structure to fill, or NULL to check
* whether the window has a shape.
* \returns 0 if the window has a shape and, provided shape_mode was not NULL,
- * shape_mode has been filled with the mode data,
- * SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped
- * window, or SDL_WINDOW_LACKS_SHAPE if the SDL_Window given is a
- * shapeable window currently lacking a shape.
+ * shape_mode has been filled with the mode data,
+ * SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped
+ * window, or SDL_WINDOW_LACKS_SHAPE if the SDL_Window given is a
+ * shapeable window currently lacking a shape.
*
* \since This function is available since SDL 3.0.0.
*
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_stdinc.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_stdinc.h
index da59fe5..78afe3a 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_stdinc.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_stdinc.h
@@ -662,8 +662,8 @@ extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf,
size_t * outbytesleft);
/**
- * This function converts a string between encodings in one pass, returning a
- * string that must be freed with SDL_free() or NULL on error.
+ * This function converts a buffer or string between encodings in one pass,
+ * returning a string that must be freed with SDL_free() or NULL on error.
*
* \since This function is available since SDL 3.0.0.
*/
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_surface.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_surface.h
index 100d297..a9ee35b 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_surface.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_surface.h
@@ -797,6 +797,8 @@ extern DECLSPEC int SDLCALL SDL_BlitSurfaceUnchecked
* Perform a fast, low quality, stretch blit between two surfaces of the same
* format.
*
+ * **WARNING**: Please use SDL_BlitScaled() instead.
+ *
* \param src the SDL_Surface structure to be copied from
* \param srcrect the SDL_Rect structure representing the rectangle to be
* copied
@@ -806,8 +808,6 @@ extern DECLSPEC int SDLCALL SDL_BlitSurfaceUnchecked
* \returns 0 on success or a negative error code on failure; call
* SDL_GetError() for more information.
*
- * Please use SDL_BlitScaled() instead.
- *
* \since This function is available since SDL 3.0.0.
*/
extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src,
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_system.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_system.h
index 7d6860f..a85f4a1 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_system.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_system.h
@@ -385,7 +385,8 @@ extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath(void);
*
* If external storage is currently unavailable, this will return 0.
*
- * \param state filled with the current state of external storage. 0 if external storage is currently unavailable.
+ * \param state filled with the current state of external storage. 0 if
+ * external storage is currently unavailable.
* \returns 0 on success or a negative error code on failure; call
* SDL_GetError() for more information.
*
diff --git a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_touch.h b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_touch.h
index cc1a9de..c374ba6 100644
--- a/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_touch.h
+++ b/Xcode/SDL/SDL3.xcframework/ios-arm64/SDL3.framework/Headers/SDL_touch.h
@@ -12
(Patch may be truncated, please check the link at the top of this post.)