SDL_ttf: Fixed rendering, set the value of font->ft_load_target

From 78b92a6269874e34d9be2fd403fe9c16c54c4409 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Thu, 3 Oct 2024 10:12:46 +0200
Subject: [PATCH] Fixed rendering, set the value of font->ft_load_target
 https://github.com/libsdl-org/SDL_ttf/commit/f1d6bb5998c233b023dda886bf42065d01cc8c12

---
 src/SDL_ttf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/SDL_ttf.c b/src/SDL_ttf.c
index 153e3238..94793b3e 100644
--- a/src/SDL_ttf.c
+++ b/src/SDL_ttf.c
@@ -4388,6 +4388,8 @@ void TTF_SetFontHinting(TTF_Font *font, int hinting)
         return;
     }
 
+    font->ft_load_target = ft_load_target;
+
 #if TTF_USE_HARFBUZZ
     // update flag for HB
     hb_ft_font_set_load_flags(font->hb_font, FT_LOAD_DEFAULT | font->ft_load_target);