gfx_widgets_init - move content of error path to retroarch.c

This commit is contained in:
twinaphex 2020-02-17 16:42:17 +01:00
parent 4d148ff078
commit 10d09eaed3
2 changed files with 2 additions and 2 deletions

View File

@ -1914,8 +1914,6 @@ bool gfx_widgets_init(bool video_is_threaded)
return true;
error:
if (gfx_widgets_ready())
gfx_widgets_free();
return false;
}

View File

@ -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
{