Merge pull request #1688 from heuripedes/master

(gl) Remove context switch calls from set_osd_msg
This commit is contained in:
Twinaphex 2015-05-12 14:39:41 +02:00
commit 884b3b25c1

View File

@ -3148,11 +3148,7 @@ static void gl_set_osd_msg(void *data, const char *msg,
font = driver->font_osd_data;
if (driver->font_osd_driver && font)
{
context_bind_hw_render(gl, false);
font_driver->render_msg(font, msg, params);
context_bind_hw_render(gl, true);
}
}
static void gl_show_mouse(void *data, bool state)