mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(XMB) Fix raster block usage
This commit is contained in:
parent
765e9c0361
commit
b9f40fc1c9
@ -322,7 +322,7 @@ static void gl_raster_font_render_msg(void *data, const char *msg,
|
||||
}
|
||||
|
||||
if (font->block)
|
||||
font->block->fullscreen = true;
|
||||
font->block->fullscreen = full_screen;
|
||||
else
|
||||
setup_viewport(font, full_screen);
|
||||
|
||||
|
@ -1267,7 +1267,9 @@ static void xmb_frame(void)
|
||||
return;
|
||||
|
||||
if (gl->font_driver->bind_block)
|
||||
gl->font_driver->bind_block(gl->font_handle, &xmb->raster_block);
|
||||
gl->font_driver->bind_block(xmb->font.buf, &xmb->raster_block);
|
||||
|
||||
xmb->raster_block.carr.coords.vertices = 0;
|
||||
|
||||
xmb_frame_background(settings, gl, xmb, false);
|
||||
|
||||
@ -1385,8 +1387,8 @@ static void xmb_frame(void)
|
||||
|
||||
if (gl->font_driver->flush)
|
||||
{
|
||||
gl->font_driver->flush(gl->font_handle);
|
||||
gl->font_driver->bind_block(gl->font_handle, NULL);
|
||||
gl->font_driver->flush(xmb->font.buf);
|
||||
gl->font_driver->bind_block(xmb->font.buf, NULL);
|
||||
}
|
||||
|
||||
if (settings->menu.mouse.enable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user