For newer sdl2 and sdl2-ttf https://lists.gnu.org/archive/html/bug-freedink/2019-08/msg00000.html https://lists.gnu.org/archive/html/bug-freedink/2022-07/msg00001.html --- a/src/gfx_fonts.cpp +++ b/src/gfx_fonts.cpp @@ -295,6 +295,6 @@ { - char *familyname = TTF_FontFaceFamilyName(font); + const char *familyname = TTF_FontFaceFamilyName(font); if(familyname) log_info("The family name of the face in the font is: %s", familyname); - char *stylename = TTF_FontFaceStyleName(font); + const char *stylename = TTF_FontFaceStyleName(font); if(stylename) --- a/src/input.cpp +++ b/src/input.cpp @@ -93,3 +93,2 @@ // fake mouse events often are de-centered - SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");