Document SDL_HINT_RENDER_LINE_METHOD in the release notes

This commit is contained in:
Sam Lantinga 2022-01-08 12:42:36 -08:00
parent 4ef2529bf9
commit 9f1e609aa0
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ This is a list of major changes in SDL's version history.
General: 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. * 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 * 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: Windows:
* Fixed size of custom cursors * Fixed size of custom cursors