(GLUI) Fix corrupt fonts on init with Windows, just pass

NULL for fontpath
This commit is contained in:
twinaphex 2015-04-24 19:17:02 +02:00
parent e69f40b319
commit e2bea7ad9b

View File

@ -825,8 +825,9 @@ static void glui_context_reset(void)
font_drv = (const font_renderer_driver_t *)gl->font_driver;
glui_font_init_first(&gl->font_driver,
&glui->font.buf, gl,
font_drv ? font_drv->get_default_font() : NULL,
&glui->font.buf,
gl,
NULL,
glui->font.size);
}