Merge pull request #2592 from vanfanel/master

fixed segfault when osd message rendering was disabled
This commit is contained in:
Twinaphex 2015-12-25 05:39:34 +01:00
commit 8b1f1e3031

View File

@ -1806,7 +1806,7 @@ static bool gl_frame(void *data, const void *frame,
}
#endif
if (msg)
if (font_driver_has_render_msg() && msg)
font_driver_render_msg(NULL, msg, NULL);
#ifdef HAVE_OVERLAY