Update SDL3
This commit is contained in:
12
Source/ThirdParty/SDL/SDL3/SDL_gamepad.h
vendored
12
Source/ThirdParty/SDL/SDL3/SDL_gamepad.h
vendored
@@ -51,6 +51,18 @@
|
|||||||
* If you would like to receive gamepad updates while the application is in
|
* If you would like to receive gamepad updates while the application is in
|
||||||
* the background, you should set the following hint before calling
|
* the background, you should set the following hint before calling
|
||||||
* SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
|
* SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
|
||||||
|
*
|
||||||
|
* Gamepads support various optional features such as rumble, color LEDs,
|
||||||
|
* touchpad, gyro, etc. The support for these features varies depending on the
|
||||||
|
* controller and OS support available. You can check for LED and rumble
|
||||||
|
* capabilities at runtime by calling SDL_GetGamepadProperties() and checking
|
||||||
|
* the various capability properties. You can check for touchpad by calling
|
||||||
|
* SDL_GetNumGamepadTouchpads() and check for gyro and accelerometer by
|
||||||
|
* calling SDL_GamepadHasSensor().
|
||||||
|
*
|
||||||
|
* By default SDL will try to use the most capable driver available, but you
|
||||||
|
* can tune which OS drivers to use with the various joystick hints in
|
||||||
|
* SDL_hints.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SDL_gamepad_h_
|
#ifndef SDL_gamepad_h_
|
||||||
|
|||||||
10
Source/ThirdParty/SDL/SDL3/SDL_render.h
vendored
10
Source/ThirdParty/SDL/SDL3/SDL_render.h
vendored
@@ -533,9 +533,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetCurrentRenderOutputSize(SDL_Renderer *re
|
|||||||
* \param access one of the enumerated values in SDL_TextureAccess.
|
* \param access one of the enumerated values in SDL_TextureAccess.
|
||||||
* \param w the width of the texture in pixels.
|
* \param w the width of the texture in pixels.
|
||||||
* \param h the height of the texture in pixels.
|
* \param h the height of the texture in pixels.
|
||||||
* \returns a pointer to the created texture or NULL if no rendering context
|
* \returns the created texture or NULL on failure; call SDL_GetError() for
|
||||||
* was active, the format was unsupported, or the width or height
|
* more information.
|
||||||
* were out of range; call SDL_GetError() for more information.
|
|
||||||
*
|
*
|
||||||
* \threadsafety This function should only be called on the main thread.
|
* \threadsafety This function should only be called on the main thread.
|
||||||
*
|
*
|
||||||
@@ -673,9 +672,8 @@ extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Rende
|
|||||||
*
|
*
|
||||||
* \param renderer the rendering context.
|
* \param renderer the rendering context.
|
||||||
* \param props the properties to use.
|
* \param props the properties to use.
|
||||||
* \returns a pointer to the created texture or NULL if no rendering context
|
* \returns the created texture or NULL on failure; call SDL_GetError() for
|
||||||
* was active, the format was unsupported, or the width or height
|
* more information.
|
||||||
* were out of range; call SDL_GetError() for more information.
|
|
||||||
*
|
*
|
||||||
* \threadsafety This function should only be called on the main thread.
|
* \threadsafety This function should only be called on the main thread.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ namespace Flax.Deps.Dependencies
|
|||||||
Path.Combine(root, "include", "SDL3"),
|
Path.Combine(root, "include", "SDL3"),
|
||||||
};
|
};
|
||||||
|
|
||||||
CloneGitRepoFastSince(root, "https://github.com/libsdl-org/SDL.git", new DateTime(2024, 12, 24));
|
CloneGitRepoFastSince(root, "https://github.com/libsdl-org/SDL.git", new DateTime(2024, 12, 26));
|
||||||
GitResetToCommit(root, "cf220ea4f1f3bf816ec8ae45d65f93e415c24831");
|
GitResetToCommit(root, "578509c326f6bcc25fba7b71ebb439a165808bc5");
|
||||||
|
|
||||||
foreach (var platform in options.Platforms)
|
foreach (var platform in options.Platforms)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user