Sun, 19 Nov 2023 13:27:08 +0100
fix missing UTF8 support for text rendering
src/text.c | file | annotate | diff | comparison | revisions |
1.1 --- a/src/text.c Sun Nov 19 13:22:43 2023 +0100 1.2 +++ b/src/text.c Sun Nov 19 13:27:08 2023 +0100 1.3 @@ -54,7 +54,7 @@ 1.4 } 1.5 1.6 // Render text onto a surface 1.7 - SDL_Surface *surface = TTF_RenderText_Blended_Wrapped( 1.8 + SDL_Surface *surface = TTF_RenderUTF8_Blended_Wrapped( 1.9 asc_context.active_font->ptr, 1.10 text.ptr, 1.11 (SDL_Color) {