SDL 2.28.0, a library designed to simplify game and multimedia application development, has been released after seven months of development. The Simple DirectMedia Layer (SDL) library enables hardware-accelerated output of 2D and 3D graphics, input processing, sound reproduction, as well as 3D output through Opengl/Opengl ES/VULKAN and other related operations. It is written in the SI language and spreads under the Zlib license. SDL provides necessary bindings to use its capabilities in projects written in various programming languages.
The latest release, SDL 2.28.0, mainly focuses on fixing errors and includes updates to the functions of sdl_haswindowsurface() and sdl_destroywindowsurface(). These updates allow the switching between API SDL_REDERER and SDL_SURFACE. Additionally, a new event SDL_DISPLAYEVENT_MOVE_D, generated by changing the main monitor or by altering the relative position of screens in multi-monitor configurations, has been added. A sign of sdl_hint_enable_screen_keyboard to control the screen keyboard has also been introduced.
The SDL 2.x branch is also transitioning to a support stage for error correction and problem elimination. The branch will no longer receive any new functionality additions. Instead, the focus of development will be on preparing the release of sdl 3.0. In addition to this, work is underway on the compatibility layer SDL2-Compat, which offers an API compatible with the double and source code SDL 2.x. The compatibility layer can act as a replacement for SDL 2 and is suitable for organizing the implementation of programs written for SDL 2 using the capabilities of the SDL 3 branch.
SDL 2.28.0 and SDL2-Compat can aid developers in creating high-quality games and multimedia applications. Users can now access these library features through their preferred programming language and enjoy the benefits brought by these updates and compatibility improvements.