mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 21:41:03 +00:00
Fix for cursor conditional
This commit is contained in:
parent
ee2f25b1dc
commit
999f862a6d
menu/drivers
@ -5238,7 +5238,7 @@ static void materialui_frame(void *data, video_frame_info_t *video_info)
|
||||
1.0f, 1.0f, 1.0f, 1.0f
|
||||
};
|
||||
bool cursor_visible = video_info->fullscreen
|
||||
|| video_info->menu_mouse_enable;
|
||||
&& video_info->menu_mouse_enable;
|
||||
|
||||
gfx_display_draw_cursor(
|
||||
userdata,
|
||||
|
@ -2260,7 +2260,7 @@ static void ozone_frame(void *data, video_frame_info_t *video_info)
|
||||
if (ozone->show_cursor && (ozone->pointer.type != MENU_POINTER_DISABLED))
|
||||
{
|
||||
bool cursor_visible = video_info->fullscreen
|
||||
|| video_info->menu_mouse_enable;
|
||||
&& video_info->menu_mouse_enable;
|
||||
|
||||
gfx_display_set_alpha(ozone_pure_white, 1.0f);
|
||||
gfx_display_draw_cursor(
|
||||
|
@ -3891,9 +3891,10 @@ static void rgui_render(void *data,
|
||||
|
||||
if (rgui->mouse_show)
|
||||
{
|
||||
bool cursor_visible = video_fullscreen || !video_driver_has_windowed();
|
||||
bool cursor_visible = video_fullscreen
|
||||
&& menu_mouse_enable;
|
||||
|
||||
if (menu_mouse_enable && cursor_visible)
|
||||
if (cursor_visible)
|
||||
rgui_blit_cursor(rgui);
|
||||
}
|
||||
}
|
||||
|
@ -3030,7 +3030,7 @@ static void stripes_frame(void *data, video_frame_info_t *video_info)
|
||||
{
|
||||
menu_input_pointer_t pointer;
|
||||
bool cursor_visible = video_info->fullscreen
|
||||
|| video_info->menu_mouse_enable;
|
||||
&& video_info->menu_mouse_enable;
|
||||
|
||||
menu_input_get_pointer_state(&pointer);
|
||||
|
||||
|
@ -4937,7 +4937,7 @@ static void xmb_frame(void *data, video_frame_info_t *video_info)
|
||||
{
|
||||
menu_input_pointer_t pointer;
|
||||
bool cursor_visible = video_info->fullscreen
|
||||
|| video_info->menu_mouse_enable;
|
||||
&& video_info->menu_mouse_enable;
|
||||
|
||||
menu_input_get_pointer_state(&pointer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user