mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #1688 from heuripedes/master
(gl) Remove context switch calls from set_osd_msg
This commit is contained in:
commit
884b3b25c1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user