From fa30933b87cc4044f128b9983099df158dfbb891 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 24 Apr 2015 22:49:05 +0200 Subject: [PATCH] (GLUI) Fixes OSD fonts not showing up - next problem - the top and bottom 'bars' are 'transparent' - they should instead be solid color filled --- menu/drivers/glui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/menu/drivers/glui.c b/menu/drivers/glui.c index a9359c2c2e..0c1d8353d6 100644 --- a/menu/drivers/glui.c +++ b/menu/drivers/glui.c @@ -495,7 +495,7 @@ static void glui_frame(void) font_driver = (const struct font_renderer*)gl->font_driver; 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, label, normal_color, hover_color); @@ -556,8 +556,8 @@ static void glui_frame(void) if (font_driver->flush) { - font_driver->flush(gl->font_handle); - font_driver->bind_block(gl->font_handle, NULL); + font_driver->flush(glui->font.buf); + font_driver->bind_block(glui->font.buf, NULL); } if (menu->keyboard.display)