SDL 2.0.20 Media Library Release

The SDL 2.0.20 (Simple DirectMedia Layer) library, aimed at simplifying the writing of games and multimedia applications, has been released. The SDL library provides facilities 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 under the zlib license. Bindings are provided for using SDL capabilities in projects in various programming languages. The library code is distributed under the Zlib license.

In the new release:

  • Improved accuracy of horizontal and vertical line output when using OpenGL and OpenGL ES.
  • The SDL_HINT_RENDER_LINE_METHOD attribute has been added to select the line rendering method that affects speed, correctness, and compatibility.
  • The SDL_RenderGeometryRaw() function has been redesigned to use a pointer to the SDL_Color parameter rather than an integer value. Color data can be specified in the formats SDL_PIXELFORMAT_RGBA32 and SDL_PIXELFORMAT_ABGR8888.
  • On the Windows platform, an issue with the size of native cursors has been resolved.
  • Linux fixes game controller hotplug detection that was broken in release 2.0.18.

Additionally, we can note the release of the SDL_ttf 2.0.18 library with a binding over the FreeType 2 font engine, which provides tools for working with TTF fonts (TrueType) in SDL 2.0.18. The new release includes additional features for scaling, output control, resizing, and defining parameters for TTF fonts, and adds support for 32-bit glyphs.

Source: opennet.ru

Add a comment