mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(GLUI,XMB) Fix messagebox rendering
This commit is contained in:
parent
d3e841f4a3
commit
f8f5ca0ec8
@ -467,6 +467,12 @@ static void glui_frame(void)
|
||||
|
||||
draw_text:
|
||||
|
||||
if (glui->use_blocks)
|
||||
{
|
||||
font_driver->flush(gl->font_handle);
|
||||
font_driver->bind_block(gl->font_handle, NULL);
|
||||
}
|
||||
|
||||
if (menu->keyboard.display)
|
||||
{
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
@ -485,12 +491,6 @@ draw_text:
|
||||
glui->box_message[0] = '\0';
|
||||
}
|
||||
|
||||
if (glui->use_blocks)
|
||||
{
|
||||
font_driver->flush(gl->font_handle);
|
||||
font_driver->bind_block(gl->font_handle, NULL);
|
||||
}
|
||||
|
||||
if (settings->menu.mouse.enable)
|
||||
glui_draw_cursor(gl, menu->mouse.x, menu->mouse.y);
|
||||
|
||||
|
@ -1366,6 +1366,12 @@ static void xmb_frame(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (font_driver->flush)
|
||||
{
|
||||
font_driver->flush(xmb->font.buf);
|
||||
font_driver->bind_block(xmb->font.buf, NULL);
|
||||
}
|
||||
|
||||
if (menu->keyboard.display)
|
||||
{
|
||||
const char *str = *menu->keyboard.buffer;
|
||||
@ -1391,12 +1397,6 @@ static void xmb_frame(void)
|
||||
xmb_frame_messagebox(msg);
|
||||
}
|
||||
|
||||
if (font_driver->flush)
|
||||
{
|
||||
font_driver->flush(xmb->font.buf);
|
||||
font_driver->bind_block(xmb->font.buf, NULL);
|
||||
}
|
||||
|
||||
if (settings->menu.mouse.enable)
|
||||
xmb_draw_cursor(gl, xmb, menu->mouse.x, menu->mouse.y);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user