mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-14 14:21:39 +00:00
Renderer: Add a base Initialize() method to match Shutdown()
This commit is contained in:
parent
38479dd783
commit
1adcd47dcb
10 changed files with 51 additions and 28 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue