Skip to content

Addressed dramatic (5-10x!) performance regression with sdl12compat

Latest

Choose a tag to compare

@ttsiodras ttsiodras released this 21 Sep 17:07
· 4 commits to master since this release

As of 21-09-2025, sdl12compat has a huge performance regression for SDL_MapRGB - which was extensively used in the renderer.

Following the discussion in the raised ticket ( libsdl-org/sdl12-compat#364 ) icculus suggested a replacement of the SDL API call with direct inline access to the relevant structure fields. This bypasses the sdl12compat performance issue.