mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
change rendertext to use blended
This commit is contained in:
parent
bbc1e1f16b
commit
9c1f999425
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user