Update SDL3
This commit is contained in:
4
Source/ThirdParty/SDL/SDL3/SDL_dialog.h
vendored
4
Source/ThirdParty/SDL/SDL3/SDL_dialog.h
vendored
@@ -94,6 +94,10 @@ typedef struct SDL_DialogFileFilter
|
||||
* no filter was selected or if the platform or method doesn't support
|
||||
* fetching the selected filter.
|
||||
*
|
||||
* In Android, the `filelist` are `content://` URIs. They should be opened
|
||||
* using SDL_IOFromFile() with appropriate modes. This applies both to open
|
||||
* and save file dialog.
|
||||
*
|
||||
* \param userdata an app-provided pointer, for the callback's use.
|
||||
* \param filelist the file(s) chosen by the user.
|
||||
* \param filter index of the selected filter.
|
||||
|
||||
4
Source/ThirdParty/SDL/SDL3/SDL_revision.h
vendored
4
Source/ThirdParty/SDL/SDL3/SDL_revision.h
vendored
@@ -31,9 +31,9 @@
|
||||
/* #undef SDL_VENDOR_INFO */
|
||||
|
||||
#ifdef SDL_VENDOR_INFO
|
||||
#define SDL_REVISION "SDL3-3.1.7-preview-3.1.6-496-g5acd7fe208 (" SDL_VENDOR_INFO ")"
|
||||
#define SDL_REVISION "SDL3-3.1.7-preview-3.1.6-509-g8cc4735d74 (" SDL_VENDOR_INFO ")"
|
||||
#else
|
||||
#define SDL_REVISION "SDL3-3.1.7-preview-3.1.6-496-g5acd7fe208"
|
||||
#define SDL_REVISION "SDL3-3.1.7-preview-3.1.6-509-g8cc4735d74"
|
||||
#endif
|
||||
|
||||
#endif /* SDL_revision_h_ */
|
||||
|
||||
5
Source/ThirdParty/SDL/SDL3/SDL_stdinc.h
vendored
5
Source/ThirdParty/SDL/SDL3/SDL_stdinc.h
vendored
@@ -45,6 +45,11 @@
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
#if defined(__has_include) && !defined(SDL_INCLUDE_STDBOOL_H)
|
||||
#if __has_include(<stdbool.h>)
|
||||
#define SDL_INCLUDE_STDBOOL_H
|
||||
#endif
|
||||
#endif
|
||||
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
||||
(defined(_MSC_VER) && (_MSC_VER >= 1910 /* Visual Studio 2017 */)) || \
|
||||
defined(SDL_INCLUDE_STDBOOL_H)
|
||||
|
||||
14
Source/ThirdParty/SDL/SDL3/SDL_tray.h
vendored
14
Source/ThirdParty/SDL/SDL3/SDL_tray.h
vendored
@@ -102,8 +102,8 @@ typedef void (SDLCALL *SDL_TrayCallback)(void *userdata, SDL_TrayEntry *entry);
|
||||
* Using tray icons require the video subsystem.
|
||||
*
|
||||
* \param icon a surface to be used as icon. May be NULL.
|
||||
* \param tooltip a tooltip to be displayed when the mouse hovers the icon.
|
||||
* Not supported on all platforms. May be NULL.
|
||||
* \param tooltip a tooltip to be displayed when the mouse hovers the icon in
|
||||
* UTF-8 encoding. Not supported on all platforms. May be NULL.
|
||||
* \returns The newly created system tray icon.
|
||||
*
|
||||
* \since This function is available since SDL 3.2.0.
|
||||
@@ -130,7 +130,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayIcon(SDL_Tray *tray, SDL_Surface *ic
|
||||
* Updates the system tray icon's tooltip.
|
||||
*
|
||||
* \param tray the tray icon to be updated.
|
||||
* \param tooltip the new tooltip. May be NULL.
|
||||
* \param tooltip the new tooltip in UTF-8 encoding. May be NULL.
|
||||
*
|
||||
* \since This function is available since SDL 3.2.0.
|
||||
*
|
||||
@@ -262,8 +262,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_RemoveTrayEntry(SDL_TrayEntry *entry);
|
||||
* \param menu the menu to append the entry to.
|
||||
* \param pos the desired position for the new entry. Entries at or following
|
||||
* this place will be moved. If pos is -1, the entry is appended.
|
||||
* \param label the text to be displayed on the entry, or NULL for a
|
||||
* separator.
|
||||
* \param label the text to be displayed on the entry, in UTF-8 encoding, or
|
||||
* NULL for a separator.
|
||||
* \param flags a combination of flags, some of which are mandatory.
|
||||
* \returns the newly created entry, or NULL if pos is out of bounds.
|
||||
*
|
||||
@@ -285,7 +285,7 @@ extern SDL_DECLSPEC SDL_TrayEntry *SDLCALL SDL_InsertTrayEntryAt(SDL_TrayMenu *m
|
||||
* label. The function will silently fail if that happens.
|
||||
*
|
||||
* \param entry the entry to be updated.
|
||||
* \param label the new label for the entry.
|
||||
* \param label the new label for the entry in UTF-8 encoding.
|
||||
*
|
||||
* \since This function is available since SDL 3.2.0.
|
||||
*
|
||||
@@ -301,7 +301,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryLabel(SDL_TrayEntry *entry, con
|
||||
* If the returned value is NULL, the entry is a separator.
|
||||
*
|
||||
* \param entry the entry to be read.
|
||||
* \returns the label of the entry.
|
||||
* \returns the label of the entry in UTF-8 encoding.
|
||||
*
|
||||
* \since This function is available since SDL 3.2.0.
|
||||
*
|
||||
|
||||
@@ -88,8 +88,8 @@ namespace Flax.Deps.Dependencies
|
||||
Path.Combine(root, "include", "SDL3"),
|
||||
};
|
||||
|
||||
CloneGitRepoFastSince(root, "https://github.com/libsdl-org/SDL.git", new DateTime(2024, 12, 27));
|
||||
GitResetToCommit(root, "5acd7fe208d332a6a546be65042dc3112dd84cac");
|
||||
CloneGitRepoFastSince(root, "https://github.com/libsdl-org/SDL.git", new DateTime(2024, 12, 29));
|
||||
GitResetToCommit(root, "8cc4735d74a1ce89c5fceb48b021872c8c563174");
|
||||
|
||||
foreach (var platform in options.Platforms)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user