Closed Starbuck5 closed 4 months ago
I suppose this closes #2516 as well since the performance gain over 2.4.1 matches what I observed there. Apparently this regression allowed us to find a long-standing performance gap.
I suppose this closes #2516 as well since the performance gain over 2.4.1 matches what I observed there. Apparently this regression allowed us to find a long-standing performance gap.
I would like to keep that issue open until we have a prerelease that has had time to be tested on actual projects But, I won't really fight closing it
Gonna see if @bigwhoopgames can test a dev wheel from this pull and make sure that the performance regression is gone
SDL sets an error if GetColorKey is called on a surface that doesn't have colorkey, which is much more expensive performance-wise in the newest SDL versions. Therefore, let's call SDL_HasColorKey first to avoid the error setting cost.
Successor to #2835 Closes #2821