Skip to content

2.0.20

Compare
Choose a tag to compare
@slouken slouken released this 11 Jan 01:03
· 6711 commits to main since this release

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