mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
gdi: enable OSD text drawing
This commit is contained in:
parent
24b3705fa1
commit
c8e6a98651
@ -140,7 +140,7 @@ static void *gdi_gfx_init(const video_info_t *video,
|
||||
video_context_driver_input_driver(&inp);
|
||||
|
||||
if (settings->bools.video_font_enable)
|
||||
font_driver_init_osd(NULL, false,
|
||||
font_driver_init_osd(gdi, false,
|
||||
video->is_threaded,
|
||||
FONT_DRIVER_RENDER_GDI);
|
||||
|
||||
|
@ -51,8 +51,6 @@ static void *gdi_init_font(void *data,
|
||||
|
||||
font->gdi = (gdi_t*)data;
|
||||
|
||||
font_size = 1;
|
||||
|
||||
if (!font_renderer_create_default((const void**)&font->gdi_font_driver,
|
||||
&font->gdi_font_data, font_path, font_size))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user