change rendertext to use blended

This commit is contained in:
TheAwesome98 2022-05-22 17:36:38 +01:00 committed by GitHub
parent bbc1e1f16b
commit 9c1f999425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -554,7 +554,7 @@ public:
{
SDL_Color color = { r, g, b };
SDL_Surface* surface = TTF_RenderText_Solid(font, content.c_str(), color);
SDL_Surface* surface = TTF_RenderText_Blended(font, content.c_str(), color);
SDL_DestroyTexture(texture);
texture = SDL_CreateTextureFromSurface(gRenderer, surface);