If you're migrating from SDL2, we've put a comprehensive list of changes and migration tips here:
 https://github.com/libsdl-org/SDL/blob/main/docs/R

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2025-01-22 01:30:05

If you're migrating from SDL2, we've put a comprehensive list of changes and migration tips here: https://github.com/libsdl-org/SDL/blob/main/docs/README-migration.md

We've gone through and smashed a ton of bugs and updated lots of documentation. Please read through the installation documentation for the packages below, and check out the updated content on the wiki and let us know what you think!

As promised, this update maintains ABI compatibility with 3.1.3, and has lots of bug fixes as we head towards 3.2.0 release. In addition, this update adds asynchronous I/O, main thread dispatching, a desktop tray API, debug text rendering and other features, including the following functions:

SDL_AsyncIOFromFile SDL_CloseAsyncIO SDL_CreateAsyncIOQueue SDL_CreateTray SDL_CreateTrayMenu SDL_CreateTraySubmenu SDL_DestroyAsyncIOQueue SDL_DestroyTray SDL_GetAsyncIOResult SDL_GetAsyncIOSize SDL_GetCurrentDirectory SDL_GetThreadState SDL_GetTrayEntries SDL_GetTrayEntryChecked SDL_GetTrayEntryEnabled SDL_GetTrayEntryLabel SDL_GetTrayEntryParent SDL_GetTrayMenu SDL_GetTrayMenuParentEntry SDL_GetTrayMenuParentTray SDL_GetTraySubmenu SDL_InsertTrayEntryAt SDL_IsAudioDevicePhysical SDL_IsAudioDevicePlayback SDL_IsMainThread SDL_LoadFileAsync SDL_ReadAsyncIO SDL_RemoveTrayEntry SDL_RenderDebugTextFormat SDL_RenderTextureAffine SDL_RunOnMainThread SDL_SaveFile SDL_SaveFile_IO SDL_SetGPUAllowedFramesInFlight SDL_SetTrayEntryCallback SDL_SetTrayEntryChecked SDL_SetTrayEntryEnabled SDL_SetTrayEntryLabel SDL_SetTrayIcon SDL_SetTrayTooltip SDL_ShowFileDialogWithProperties SDL_SignalAsyncIOQueue SDL_WaitAndAcquireGPUSwapchainTexture SDL_WaitAsyncIOResult SDL_WaitForGPUSwapchain SDL_WriteAsyncIO

As promised, this update maintains ABI compatibility with 3.1.3, and has lots of bug fixes as we head towards 3.2.0 release. In addition, this update adds the following functions:

Leave a Comment