When using SDL's software renderer, alpha modulation is quite slow. Setting the alpha value in TTF_RenderUTF8_Blended provides a useful performance improvement, and this PR also provides a smaller performance and memory improvement by combining the text and shadow before uploading it to a texture.
When using SDL's software renderer, alpha modulation is quite slow. Setting the alpha value in
TTF_RenderUTF8_Blended
provides a useful performance improvement, and this PR also provides a smaller performance and memory improvement by combining the text and shadow before uploading it to a texture.