Renderer: Add a base Initialize() method to match Shutdown()

This commit is contained in:
Stenzek
2018-02-09 20:52:25 +10:00
parent 38479dd783
commit 1adcd47dcb
10 changed files with 51 additions and 28 deletions

View File

@ -95,7 +95,7 @@ bool VideoSoftware::Initialize(const WindowSystemInfo& wsi)
g_perf_query = std::make_unique<PerfQuery>();
g_texture_cache = std::make_unique<TextureCache>();
g_shader_cache = std::make_unique<VideoCommon::ShaderCache>();
return g_shader_cache->Initialize();
return g_renderer->Initialize() && g_shader_cache->Initialize();
}
void VideoSoftware::Shutdown()