From 11a37ae76873415edb9cbae7dbd878c88f4dbeec Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 6 May 2018 12:38:33 +0100 Subject: [PATCH] Use UTF-8 text rendering. --- src/draw/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/text.c b/src/draw/text.c index e444430..21d233f 100644 --- a/src/draw/text.c +++ b/src/draw/text.c @@ -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);