forked from libsdl-org/SDL
-
Notifications
You must be signed in to change notification settings - Fork 0
Update from main branch #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
e-boom
wants to merge
9,773
commits into
e-boom:main
Choose a base branch
from
libsdl-org:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"static const" being treated as constant in C is an extension that is not always supported, so use defines instead.
This PR adds support to the cmake build scripts so to allow building SDL with the Tiny C Compiler (tcc). TinyCC supports the subset of C99 used by SDL and will complete the build once the --version-script linker flag is removed. The changes have been tested with various build configurations, including X11 and Wayland, and using tcc version 0.9.28rc 2025-10-27 mob@f4e01bfc on x86_64 Linux.
This allows filesystem operations to use internal storage and the asset system by default.
[ci skip]
Fixes this leak of testsprite: Allocation 0: 40 bytes 0x7f4d47b0d43c: SDL_calloc_REAL+0x45 0x7f4d47d149bc: SDL_CreateMutex_REAL+0x17 0x7f4d47cab5a7: Wayland_StartCursorThread+0x9f 0x7f4d47cae028: Wayland_InitMouse+0xa7 0x7f4d47cb36ea: Wayland_VideoInit+0x187 0x7f4d47bbee85: SDL_VideoInit+0x358 0x7f4d47a01bfe: SDL_InitSubSystem_REAL+0xe8 0x7f4d47a3cdf1: SDL_InitSubSystem+0x19 0x407366: SDLTest_CommonInit+0x108 0x402fd0: SDL_AppInit+0x605 0x7f4d47a8771f: SDL_InitMainCallbacks+0x6a 0x7f4d47d3e6cf: SDL_EnterAppMainCallbacks_REAL+0x43 0x7f4d47a396f4: SDL_EnterAppMainCallbacks+0x48 0x401445: SDL_main+0x33 0x7f4d47a878c6: SDL_RunApp_REAL+0x42 0x7f4d47a317be: SDL_RunApp_DEFAULT+0x37 0x7f4d47a3e769: SDL_RunApp+0x32 0x40146e: main+0x27 0x7f4d47811575: __libc_start_call_main+0x75 0x7f4d47811628: __libc_start_main+0x88 0x400ff5: _start+0x25
This reverts commit b83bd80. Looks like it was accidental..
This reverts commit 10f6b86. Looks like it was accidental..
[ci skip]
Also moved the second touchpad button to the end of the misc buttons
Only allocate memory for source events if the mouse system is in the initialized state, otherwise, spurious events during shutdown can cause a leak.
Bug was introduced in 17a891d
Clean up the termination callback if the flush returns with an unrecoverable error to avoid a "queue destroyed while proxies still attached" warning.
[ci skip]
[ci skip]
This matches other platforms. Also make sure Android explicitly sets vsync on restore, regardless of the specific setting, to make sure it's consistent. Fixes #14642.
No functional changes, just minor updates to track the latest upstream version.
…quested vulkan version (#14662)
…s are toggled An event flush while a window is being hidden may try to toggle the window borders. Don't poll the mapping state when toggling borders if the window is in the process of being hidden, or the window may already be unmapped, and the wait loop will hang forever.
[ci skip]
Update the HDR data on a placeholder display if it hasn't been finalized and added yet, or the HDR data on the added display will be incorrect.
… version. The `GL` version returns early because the context isn't set yet, whereas the `EGL` version works out here. Fixes #14642.
Yeehaw, cowboy committer! 🤦
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update SDL library
Description
Update from main branch