(GLUI) Fixes OSD fonts not showing up - next problem - the top
and bottom 'bars' are 'transparent' - they should instead be solid color filled
This commit is contained in:
parent
d9bf8a35ec
commit
fa30933b87
|
@ -495,7 +495,7 @@ static void glui_frame(void)
|
||||||
font_driver = (const struct font_renderer*)gl->font_driver;
|
font_driver = (const struct font_renderer*)gl->font_driver;
|
||||||
|
|
||||||
if (font_driver->bind_block)
|
if (font_driver->bind_block)
|
||||||
font_driver->bind_block(gl->font_handle, &glui->list_block);
|
font_driver->bind_block(glui->font.buf, &glui->list_block);
|
||||||
|
|
||||||
glui_render_menu_list(runloop, gl, glui, menu,
|
glui_render_menu_list(runloop, gl, glui, menu,
|
||||||
label, normal_color, hover_color);
|
label, normal_color, hover_color);
|
||||||
|
@ -556,8 +556,8 @@ static void glui_frame(void)
|
||||||
|
|
||||||
if (font_driver->flush)
|
if (font_driver->flush)
|
||||||
{
|
{
|
||||||
font_driver->flush(gl->font_handle);
|
font_driver->flush(glui->font.buf);
|
||||||
font_driver->bind_block(gl->font_handle, NULL);
|
font_driver->bind_block(glui->font.buf, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (menu->keyboard.display)
|
if (menu->keyboard.display)
|
||||||
|
|
Loading…
Reference in New Issue