summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-02-09 20:52:25 +1000
committerStenzek <stenzek@gmail.com>2018-12-04 17:36:08 +1000
commit1adcd47dcbd80e0435d42e61dab3f00a22d1ca38 (patch)
treede2ce449d688e0d5d13fdb46dfd9e6396f63fb2c /Source/Core/VideoBackends/Software
parent38479dd7830ab0790b487cbdee7477e6eb6b941d (diff)
Renderer: Add a base Initialize() method to match Shutdown()
Diffstat (limited to 'Source/Core/VideoBackends/Software')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index a0ad349849..0ab16bdfa8 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -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()