Optimize sprite rendering by ignoring completely occluded sprites
SRB2 is ridiculous about rendering sprites. If it clips a sprite and makes it completely hidden, it's still sorted and drawn as if it were visible. Notice how I'm facing a wall, and it's still rendering hundreds of sprites.
With the optimization, none of these are rendered. They can't be seen, so they no longer exist.
Edited by Lactozilla