SDL: Skip FcFini() call, causes crashes.

Apparently this is a relatively well known problem and various people have
commented this out, including in Chromium for the last 10 years...
This commit is contained in:
Unknown W. Brackets committed 2023-08-13 19:36:17 -07:00
1 parent eb43bfc541
commit 2aa4592330
1 file changed
+2 -1
+2 -1
View File
@@ -38,7 +38,8 @@ TextDrawerSDL::~TextDrawerSDL() {
#if defined(USE_SDL2_TTF_FONTCONFIG)
FcConfigDestroy(config);
FcFini();
// Don't call this - it crashes, see https://github.com/openframeworks/openFrameworks/issues/5061.
//FcFini();
#endif
}