Change initial load RenderText to also be Blended

This commit is contained in:
sam-astro 2022-05-22 17:25:21 -04:00 committed by GitHub
parent 5d709f8d2a
commit faeef8851e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -533,7 +533,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);
texture = SDL_CreateTextureFromSurface(gRenderer, surface);