mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 03:40:50 +00:00
gfx_widgets_init - move content of error path to retroarch.c
This commit is contained in:
parent
4d148ff078
commit
10d09eaed3
@ -1914,8 +1914,6 @@ bool gfx_widgets_init(bool video_is_threaded)
|
||||
return true;
|
||||
|
||||
error:
|
||||
if (gfx_widgets_ready())
|
||||
gfx_widgets_free();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -23493,6 +23493,8 @@ static void drivers_init(int flags)
|
||||
video_driver_width, video_driver_height,
|
||||
settings->paths.directory_assets,
|
||||
settings->paths.path_font);
|
||||
else
|
||||
gfx_widgets_free();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user