gl: don't try to render a blank OSD message on every frame

This commit is contained in:
Brad Parker 2017-08-31 11:59:23 -04:00
parent 24dc35d97b
commit c7d7c5c909

View File

@ -1245,7 +1245,7 @@ static bool gl_frame(void *data, const void *frame,
}
#endif
if (msg)
if (!string_is_empty(msg))
font_driver_render_msg(video_info, NULL, msg, NULL);
#ifdef HAVE_OVERLAY