(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
|
#endif
|
||||||
|
|
||||||
if (!data->overlay_enable)
|
if (!data->overlay_enable || !video_driver_overlay_interface(&iface) || !iface)
|
||||||
goto abort_load;
|
|
||||||
|
|
||||||
if (!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;
|
goto abort_load;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue