Sun, 19 Nov 2023 13:27:08 +0100
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) {