(GLUI) Fix mouse rendering

This commit is contained in:
Higor Eurípedes 2015-03-27 16:17:11 -03:00
parent b9f40fc1c9
commit 3d33d934cb

View File

@ -482,15 +482,15 @@ draw_text:
glui->box_message[0] = '\0';
}
if (settings->menu.mouse.enable)
glui_draw_cursor(gl, menu->mouse.x, menu->mouse.y);
if (glui->use_blocks)
{
gl->font_driver->flush(gl->font_handle);
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);
}