Permalink
Browse files

ShaderCache: Don't create or load shader cache with Null backend

  • Loading branch information...
stenzek committed Oct 14, 2018
1 parent 64515d0 commit c2fab7f01667c4ae1c9d039a5ace87ad21c4d98d
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/VideoCommon/ShaderCache.cpp
@@ -35,7 +35,7 @@ bool ShaderCache::Initialize()
m_async_shader_compiler->ResizeWorkerThreads(g_ActiveConfig.GetShaderPrecompilerThreads());
// Load shader and UID caches.
if (g_ActiveConfig.bShaderCache)
if (g_ActiveConfig.bShaderCache && m_api_type != APIType::Nothing)
{
LoadShaderCaches();
LoadPipelineUIDCache();

0 comments on commit c2fab7f

Please sign in to comment.