mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-02 11:32:38 +00:00
Previously there were two different paths for renderer creation, and the HDR metadata initialization was missing when creating a software renderer for a surface. Now all the cases are handled in a single path, so regardless of whether you create a software renderer by name, a software renderer for a surface, or fall back to a software renderer, you'll get the correct initialization in all cases. Fixes https://github.com/libsdl-org/SDL/issues/9221