mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 22:14:17 +00:00
(GLUI) Fix mouse rendering
This commit is contained in:
parent
b9f40fc1c9
commit
3d33d934cb
@ -482,15 +482,15 @@ draw_text:
|
|||||||
glui->box_message[0] = '\0';
|
glui->box_message[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings->menu.mouse.enable)
|
|
||||||
glui_draw_cursor(gl, menu->mouse.x, menu->mouse.y);
|
|
||||||
|
|
||||||
if (glui->use_blocks)
|
if (glui->use_blocks)
|
||||||
{
|
{
|
||||||
gl->font_driver->flush(gl->font_handle);
|
gl->font_driver->flush(gl->font_handle);
|
||||||
gl->font_driver->bind_block(gl->font_handle, NULL);
|
gl->font_driver->bind_block(gl->font_handle, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (settings->menu.mouse.enable)
|
||||||
|
glui_draw_cursor(gl, menu->mouse.x, menu->mouse.y);
|
||||||
|
|
||||||
gl_set_viewport(gl, gl->win_width, gl->win_height, false, true);
|
gl_set_viewport(gl, gl->win_width, gl->win_height, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user