summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/ShaderCache.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-01-04 20:05:26 +0100
committerGitHub <noreply@github.com>2017-01-04 20:05:26 +0100
commit389f8297c3bb1829cf7c62f5461457f4d4c501bc (patch)
treefb2b3f0b624a4dc275100633e6a251fa1944e5e6 /Source/Core/VideoBackends/Null/ShaderCache.cpp
parentf46f779f70d70d6cdd3de63286ca0da69be9aa00 (diff)
parent41b0c74e3056ec0d0b354896684debb2d82320f3 (diff)
Merge pull request #4577 from degasus/videocommon
OGL/Vulkan: Drop destination alpha pass.
Diffstat (limited to 'Source/Core/VideoBackends/Null/ShaderCache.cpp')
-rw-r--r--Source/Core/VideoBackends/Null/ShaderCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Null/ShaderCache.cpp b/Source/Core/VideoBackends/Null/ShaderCache.cpp
index a7513f4909..a8decc6f58 100644
--- a/Source/Core/VideoBackends/Null/ShaderCache.cpp
+++ b/Source/Core/VideoBackends/Null/ShaderCache.cpp
@@ -33,9 +33,9 @@ void ShaderCache<Uid>::Clear()
}
template <typename Uid>
-bool ShaderCache<Uid>::SetShader(DSTALPHA_MODE dst_alpha_mode, u32 primitive_type)
+bool ShaderCache<Uid>::SetShader(u32 primitive_type)
{
- Uid uid = GetUid(dst_alpha_mode, primitive_type, APIType::OpenGL);
+ Uid uid = GetUid(primitive_type, APIType::OpenGL);
// Check if the shader is already set
if (m_last_entry)