# SDL 2.0.20 released!

**URL:** <https://discourse.libsdl.org/t/sdl-2-0-20-released/34407>\
**Category:** SDL Announcements\
**Created:** [January 11, 2022, 1:18am UTC](https://discourse.libsdl.org/t/sdl-2-0-20-released/34407 "2022-01-11T01:18:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [January 11, 2022, 1:18am UTC](https://discourse.libsdl.org/t/sdl-2-0-20-released/34407/1 "2022-01-11T01:18:56Z")

</div>

Thanks to all the people who contributed code and feedback, SDL 2.0.20 is now available!

[https://www.libsdl.org/download-2.0.php](https://www.libsdl.org/download-2.0.php)

This is largely a bugfix release, with the following changes:

General:

- SDL\_RenderGeometryRaw() takes a pointer to SDL\_Color, not int. You can cast color data in SDL\_PIXELFORMAT\_RGBA32 format (SDL\_PIXELFORMAT\_ABGR8888 on little endian systems) for this parameter.
- Improved accuracy of horizontal and vertical line drawing when using OpenGL or OpenGLES
- Added the hint SDL\_HINT\_RENDER\_LINE\_METHOD to control the method of line drawing used, to select speed, correctness, and compatibility.

Windows:

- Fixed size of custom cursors

Linux:

- Fixed hotplug controller detection, broken in 2.0.18
