fix missing UTF8 support for text rendering

Sun, 19 Nov 2023 13:27:08 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 19 Nov 2023 13:27:08 +0100
changeset 18
00c0632f0f40
parent 17
25013a35e07d
child 19
d0e88022e209

fix missing UTF8 support for text rendering

src/text.c file | annotate | diff | comparison | revisions
--- a/src/text.c	Sun Nov 19 13:22:43 2023 +0100
+++ b/src/text.c	Sun Nov 19 13:27:08 2023 +0100
@@ -54,7 +54,7 @@
     }
 
     // Render text onto a surface
-    SDL_Surface *surface = TTF_RenderText_Blended_Wrapped(
+    SDL_Surface *surface = TTF_RenderUTF8_Blended_Wrapped(
             asc_context.active_font->ptr,
             text.ptr,
             (SDL_Color) {

mercurial