mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +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
|
@ -64,7 +64,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
|
|||
g_framebuffer_manager = std::make_unique<FramebufferManagerBase>();
|
||||
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 VideoBackend::Shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue