static void gl1_overlay_enable(void *data, bool state) { gl1_t *gl = (gl1_t*)data; if (!gl) return; gl->overlay_enable = state; if (gl->fullscreen) video_context_driver_show_mouse(&state); }
static void d3d_show_mouse(void *data, bool state) { video_context_driver_show_mouse(&state); }