(XMB) Fix raster block usage

This commit is contained in:
Higor Eurípedes 2015-03-27 11:20:10 -03:00
parent 765e9c0361
commit b9f40fc1c9
2 changed files with 6 additions and 4 deletions

View File

@ -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);

View File

@ -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)