mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 01:38:12 +00:00
(gfx/video_driver.c) Simplifications
This commit is contained in:
parent
6c3a5fe634
commit
b93c759d3c
@ -1570,17 +1570,13 @@ void video_driver_set_aspect_ratio(void)
|
||||
|
||||
void video_driver_show_mouse(void)
|
||||
{
|
||||
if (!video_driver_poke)
|
||||
return;
|
||||
if (video_driver_poke->show_mouse)
|
||||
if (video_driver_poke && video_driver_poke->show_mouse)
|
||||
video_driver_poke->show_mouse(video_driver_data, true);
|
||||
}
|
||||
|
||||
void video_driver_hide_mouse(void)
|
||||
{
|
||||
if (!video_driver_poke)
|
||||
return;
|
||||
if (video_driver_poke->show_mouse)
|
||||
if (video_driver_poke && video_driver_poke->show_mouse)
|
||||
video_driver_poke->show_mouse(video_driver_data, false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user