Rewrite font_driver_free

This commit is contained in:
twinaphex 2017-04-29 17:02:35 +02:00
parent e84adb504f
commit 11a96df465

View File

@ -439,7 +439,8 @@ void font_driver_free(void *font_data)
{
bool is_threaded = false;
#ifdef HAVE_THREADS
is_threaded = video_driver_is_threaded();
bool *is_threaded_tmp = video_driver_get_threaded();
is_threaded = *is_threaded_tmp;
#endif
if (font->renderer && font->renderer->free)