tag:github.com,2008:/libsdl-org/SDL/commits/mainRecent Commits to SDL:main2024-03-28T16:34:48Ztag:github.com,2008:Grit::Commit/47378eddf65b99e09be87c8e6e9f91e0734d9906
Fixed error: ordered comparison of pointer with integer zero
2024-03-28T16:34:48Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Fixed error: ordered comparison of pointer with integer zero</pre>
tag:github.com,2008:Grit::Commit/0aa1022358e09e6bb22a1087c51a10c954a8ab18
Clarify that SDL_SetWindowKeyboardGrab() is only needed if you set SD…
2024-03-28T16:25:22Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Clarify that SDL_SetWindowKeyboardGrab() is only needed if you set SDL_HINT_GRAB_KEYBOARD</pre>
tag:github.com,2008:Grit::Commit/fc81d4e5fcba6895f8ad3553bbd60b374537456c
Fixed 64-bit conversion warnings
2024-03-28T16:12:26Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Fixed 64-bit conversion warnings</pre>
tag:github.com,2008:Grit::Commit/c8489a3710fdf9ee3c5f09df0b3a3c439513a952
Disable XInput2 keyboard events
2024-03-28T15:50:47Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Disable XInput2 keyboard events
It turns out they're only delivered to the window with mouse focus, not keyboard focus.
Fixes https://github.com/libsdl-org/SDL/issues/9374</pre>
tag:github.com,2008:Grit::Commit/fb5307c1b3f46e70217ce43c0dbab4d3795bd91b
Vulkan Renderer - fix synchronization validation issues with testrend…
2024-03-28T14:37:49Zdanginsburg@upsamplesoftware.com
<pre style='white-space:pre-wrap;width:81ex'>Vulkan Renderer - fix synchronization validation issues with testrendertarget and testcopyex. When a texture is destroyed, VULKAN_IssueBatch is called to make sure the texture isn't referenced in any outstanding command work. This path did not wait on the semaphore from vkAcquireNextImageKHR, which would create a hazard.</pre>
tag:github.com,2008:Grit::Commit/0d007bbb014311542f28dd83704a649ce4eaed75
psp: Fixed building with pspdev when not using CMake.
2024-03-28T13:27:21Zicculushttps://github.com/icculus
<pre style='white-space:pre-wrap;width:81ex'>psp: Fixed building with pspdev when not using CMake.
(psp-cmake defines `__PSP__` on the command line, but the compiler itself
only defines `__psp__` and some variations.
Fixes #9378.</pre>
tag:github.com,2008:Grit::Commit/ad92c9e30093676a3fd84d1974b821857d8bae58
README-main-functions.md: Added notes about the new `appstate` parame…
2024-03-28T03:04:36Zicculushttps://github.com/icculus
<pre style='white-space:pre-wrap;width:81ex'>README-main-functions.md: Added notes about the new `appstate` parameter.</pre>
tag:github.com,2008:Grit::Commit/7a9f99cff34c3c170736be702cc199ce214df642
Corrected migration documentation for SDL_GetDisplayDPI()
2024-03-28T01:27:57Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Corrected migration documentation for SDL_GetDisplayDPI()
Fixes https://github.com/libsdl-org/SDL/issues/9386</pre>
tag:github.com,2008:Grit::Commit/d00ccc1546c0943481f5d65459496a47fe9721df
audio: Fix audio stream incorrectly not unlocking during unbind.
2024-03-27T21:36:26Zicculushttps://github.com/icculus
<pre style='white-space:pre-wrap;width:81ex'>audio: Fix audio stream incorrectly not unlocking during unbind.
(This patch was from @0x1F9F1, thanks!)
Fixes #9379.</pre>
tag:github.com,2008:Grit::Commit/38e3c6a4aa338d062ca2eba80728bfdf319f7104
main: Add an optional `appstate` param to main callback entry points.
2024-03-27T21:22:08Zicculushttps://github.com/icculus
<pre style='white-space:pre-wrap;width:81ex'>main: Add an optional `appstate` param to main callback entry points.
This allows apps to maintain state data without using global variables.
Fixes #9377.</pre>
tag:github.com,2008:Grit::Commit/a9dbdb1947580d072df64aa03dc06b4632f20171
Removed SDL_RenderSetIntegerScale() renaming note
2024-03-27T19:47:23Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Removed SDL_RenderSetIntegerScale() renaming note
Fixes https://github.com/libsdl-org/SDL/issues/9384</pre>
tag:github.com,2008:Grit::Commit/cde2dcd0d49f929aeb2ed3b6a4fc074482c1550c
Note that SDL_EVENT_SYSWM has been removed
2024-03-27T18:39:10Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Note that SDL_EVENT_SYSWM has been removed
Fixes https://github.com/libsdl-org/SDL/issues/9382</pre>
tag:github.com,2008:Grit::Commit/05b3605a41d4743c2ba1fc8a4763e32ad80e7a1b
Sync SDL3 wiki -> header
2024-03-27T18:02:23ZSDLWikiBothttps://github.com/SDLWikiBot
<pre style='white-space:pre-wrap;width:81ex'>Sync SDL3 wiki -> header</pre>
tag:github.com,2008:Grit::Commit/5abcfad3524b2e99df4be92e045e1bd69501b9f7
video: Document that renderer lifetimes are tied to their associated …
2024-03-27T18:01:41ZKontrabanthttps://github.com/Kontrabant
<pre style='white-space:pre-wrap;width:81ex'>video: Document that renderer lifetimes are tied to their associated windows</pre>
tag:github.com,2008:Grit::Commit/02c63667c7b8107bb295822376c8d496fe0552b0
Only clear the raw input queue status if we don't call GetRawInputBuf…
2024-03-26T22:27:57Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Only clear the raw input queue status if we don't call GetRawInputBuffer()
GetRawInputBuffer() will do that for us when we read all the queued events</pre>
tag:github.com,2008:Grit::Commit/d6fc629b5b1580e487dfd9e7f2eb4108a1b5d7e0
Fixed Windows rawinput crash
2024-03-26T22:27:57Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>Fixed Windows rawinput crash
RAWINPUT structures are variable size</pre>
tag:github.com,2008:Grit::Commit/a7df28201be8f1e9f320224c8dce002ffe618332
Revert "testautomation: fix renderer leak in video tests"
2024-03-26T20:10:14ZKontrabanthttps://github.com/Kontrabant
<pre style='white-space:pre-wrap;width:81ex'>Revert "testautomation: fix renderer leak in video tests"
This reverts commit 2f13f66c71d11115381ea6bbdece4bcdec252584.
Not needed if renderers are once again implicitly cleaned up when their associated windows are destroyed.</pre>
tag:github.com,2008:Grit::Commit/8f14fa1113b8345cb09a33fa99368b673caa87a1
video: Destroy the associated renderer when a window is destroyed
2024-03-26T20:10:14ZKontrabanthttps://github.com/Kontrabant
<pre style='white-space:pre-wrap;width:81ex'>video: Destroy the associated renderer when a window is destroyed
This was previous behavior that used window userdata and was lost during the move to properties. Renderer objects need to be cleaned up when their associated windows are destroyed, or they can be leaked and backend refcounts won't be properly updated, leading to them not being properly shut down when SDL_Quit() is called.</pre>
tag:github.com,2008:Grit::Commit/f0cd3ed3303bf4731e6c30f975b8a2833c4fd687
x11: don't send raw mouse motion when the application doesn't have focus
2024-03-26T20:10:54Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>x11: don't send raw mouse motion when the application doesn't have focus</pre>
tag:github.com,2008:Grit::Commit/c47f9b9b547cc521985a7b33cdbb34e7cb8a9339
x11: fixed mouse and keyboard input when XInput2 isn't available
2024-03-26T20:01:00Zsloukenhttps://github.com/slouken
<pre style='white-space:pre-wrap;width:81ex'>x11: fixed mouse and keyboard input when XInput2 isn't available</pre>