diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2018-03-14 17:08:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-14 17:08:36 +0100 |
| commit | 19d97f3fd972f1577ec821306bd438d2cf0232a8 (patch) | |
| tree | 3857facc622531b67147f0176b20c22ea523185e /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | b3f948891a9336ec7b8f18bda1f83e5b72d70709 (diff) | |
| parent | 517a9774442d39b641e4a893a6734994dfe0074d (diff) | |
Merge pull request #6430 from stenzek/uid-cache-fixes
ShaderCache: Fix several issues in background shader compiling
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 271223ba3d..55abd69e75 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -198,7 +198,7 @@ u32 VideoConfig::GetShaderCompilerThreads() const u32 VideoConfig::GetShaderPrecompilerThreads() const { // When using background compilation, always keep the same thread count. - if (bWaitForShadersBeforeStarting) + if (!bWaitForShadersBeforeStarting) return GetShaderCompilerThreads(); if (!backend_info.bSupportsBackgroundCompiling) |
