Release Library SDL 2.0.20 (Simple DirectMedia Layer) aimed at simplifying the writing of games and multimedia applications. The SDL library provides the means as hardware-accelerated output 2D and 3D graphics, input processing, sound playback, 3D output via OpenGL / OpenGL ES / VULKAN and many other related operations. The library is written in SI language and extends under the ZLIB license. For the use of SDL features in projects in various programming languages, bindings are provided. Library code spreads under the ZLIB license.
In the new release:
- Increased the accuracy of the output of horizontal and vertical lines when using OpenGL and OpenGL ES.
- Added sign SDL_HINT_RENDER_LINE_METHOD to select the method of drawing lines affecting speed, correctness and compatibility.
- The SDL_RenderGeomeTryRAW () function is redesigned to use the pointer to the SDL_COLOR parameter, and not a whole value. Color data can be specified in SDL_PIXELFormat_RGBA32 and SDL_PIXELFormat_abgr8888.
- on the Windows platform solved the problem with the size of your own cursors.
- In Linux, the definition of hot connecting controllers has been identified, violated in the release 2.0.18.
Additionally, it can be noted inlet option SDL_TTF 2.0.18 , which is Editor’s SDL 2.0.18 with support for TTF fonts. The release includes a large selection of a function for scaling, controlling output, resizing and defining TTF font parameters, as well as added support for 32-bit glyphs.