Use UTF-8 text rendering.
This commit is contained in:
parent
4f498fba98
commit
11a37ae768
|
@ -84,7 +84,7 @@ static void drawTextNormal(int x, int y, int size, int align, SDL_Color c, char
|
|||
|
||||
if (!t)
|
||||
{
|
||||
surface = TTF_RenderText_Blended(font[size], text, colors.white);
|
||||
surface = TTF_RenderUTF8_Blended(font[size], text, colors.white);
|
||||
t = SDL_CreateTextureFromSurface(app.renderer, surface);
|
||||
SDL_FreeSurface(surface);
|
||||
|
||||
|
|
Loading…
Reference in New Issue