mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-13 09:02:10 +00:00
Change initial load RenderText to also be Blended
This commit is contained in:
parent
5d709f8d2a
commit
faeef8851e
@ -533,7 +533,7 @@ public:
|
|||||||
{
|
{
|
||||||
SDL_Color color = { r, g, b };
|
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);
|
texture = SDL_CreateTextureFromSurface(gRenderer, surface);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user