mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
[LIBNX] Workaround for freezes caused by freetype with video threaded, revert later
This commit is contained in:
parent
41c1b5ce97
commit
b4ae829b3f
@ -56,6 +56,14 @@ int font_renderer_create_default(
|
||||
for (i = 0; font_backends[i]; i++)
|
||||
{
|
||||
const char *path = font_path;
|
||||
/*
|
||||
Switch libnx freetype is bugged on thread, skip
|
||||
TODO: remove when fixed
|
||||
*/
|
||||
#if defined(HAVE_LIBNX) && defined(HAVE_FREETYPE)
|
||||
if(font_backends[i] == &freetype_font_renderer && *video_driver_get_threaded()) // freetype
|
||||
continue;
|
||||
#endif
|
||||
|
||||
if (!path)
|
||||
path = font_backends[i]->get_default_font();
|
||||
|
Loading…
x
Reference in New Issue
Block a user