summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.h
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-07-28 21:11:15 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-07-28 21:35:36 -0700
commiteb81968fe63d5df0f9b0efd1533567096c2bb59b (patch)
treea783bc6e176d2c3658ceafb2f3c10ff757c114ee /Source/Core/VideoCommon/ShaderCache.h
parentc86c02e46bbb1d1f5643e83a2c89f749b959991c (diff)
Convert ShaderHostConfig to BitField
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.h')
-rw-r--r--Source/Core/VideoCommon/ShaderCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.h b/Source/Core/VideoCommon/ShaderCache.h
index 8feff52c15..b083927de4 100644
--- a/Source/Core/VideoCommon/ShaderCache.h
+++ b/Source/Core/VideoCommon/ShaderCache.h
@@ -53,7 +53,7 @@ public:
void InitializeShaderCache();
// Changes the shader host config. Shaders should be reloaded afterwards.
- void SetHostConfig(const ShaderHostConfig& host_config) { m_host_config = host_config; }
+ void SetHostConfig(const ShaderHostConfig& host_config) { m_host_config.bits = host_config.bits; }
// Reloads/recreates all shaders and pipelines.
void Reload();