mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
(input_overlay.c) Cleanup
This commit is contained in:
parent
46080f2194
commit
36a6abede7
@ -502,12 +502,9 @@ void input_overlay_loaded(void *task_data, void *user_data, const char *err)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!data->overlay_enable)
|
||||
goto abort_load;
|
||||
|
||||
if (!video_driver_overlay_interface(&iface) || !iface)
|
||||
if (!data->overlay_enable || !video_driver_overlay_interface(&iface) || !iface)
|
||||
{
|
||||
RARCH_ERR("Overlay interface is not present in video driver.\n");
|
||||
RARCH_ERR("Overlay interface is not present in video driver, or not enabled.\n");
|
||||
goto abort_load;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user