SDL 2.30.0 Multimedia Library Now Available for Download

After seven months of development published library release SDL 2.30.0 (Simple DirectMedia Layer), aimed at simplifying the writing of games and multimedia applications. The SDL library provides tools such as hardware-accelerated 2D and 3D graphics output, input processing, audio playback, 3D output via OpenGL/OpenGL ES/Vulkan and many other related operations. The library is written in C and distributed by licensed under Zlib. To use the capabilities of SDL in projects in various programming languages, the necessary bindings are provided.

The release of SDL 2.30.0 mainly offers bug fixes, since the SDL 2.x branch was moved to the maintenance stage last year, and all active development has recently been focused on preparing the branch SDL 3 and compatibility layer sdl2-compat with SDL 2.x API implementation on top SDL 3which allows you to run programs written for SDL 2 using the capabilities of the SDL 3 branch.

In the SDL 3 branch, some subsystems were reworked, changes were made to the API that violated compatibility, and a large cleanup of outdated features that had lost relevance in modern realities was carried out. For example, SDL 3 is expected to completely rework the audio code, use Wayland and PipeWire by default, discontinue support for OpenGL ES 1.0 and DirectFB, and remove code for working on legacy platforms such as QNX, Pandora, WinRT and OS/2.

Among changes in SDL 2.30.0 release:

  • Added support for surface formats with indexed palettes and 2 bits of color representation per pixel.
  • Added SDL_GameControllerGetSteamHandle() function to determine the game controller handle in the Steam API.
  • Added SDL_CONTROLLERSTEAMHANDLEUPDATED event, generated when the game controller handle is changed in the Steam API.
  • Added SDL_LOGGING environment variable to control log output.
  • For the macOS platform, the attributes SDL_HINT_JOYSTICK_IOKIT, SDL_HINT_JOYSTICK_MFI and SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE are implemented.
  • For the Xbox platform, the SDL_GDKGetDefaultUser() function has been added.

Thanks for reading: