VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methods

Also allows the work previously done in Prepare to return a failure
status.
This commit is contained in:
Stenzek 2018-01-26 15:09:07 +10:00
commit d96e8c9d76
20 changed files with 58 additions and 160 deletions

View file

@ -809,6 +809,7 @@ Renderer::~Renderer() = default;
void Renderer::Shutdown()
{
::Renderer::Shutdown();
g_framebuffer_manager.reset();
UpdateActiveConfig();