Use UTF-8 text rendering.

This commit is contained in:
Steve 2018-05-06 12:38:33 +01:00
parent 4f498fba98
commit 11a37ae768
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static void drawTextNormal(int x, int y, int size, int align, SDL_Color c, char
if (!t) 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); t = SDL_CreateTextureFromSurface(app.renderer, surface);
SDL_FreeSurface(surface); SDL_FreeSurface(surface);