summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-12-19 01:37:10 +1300
committerScott Mansell <phiren@gmail.com>2015-12-19 01:37:10 +1300
commitebe3c49c5f65d4da1762bb51071044c94fd92c18 (patch)
tree9bab8b73ae9a18a7a405d692b2c92ca2c38522fb /Source/Core/VideoCommon/PixelShaderGen.cpp
parent7a78df2624f09c61c111a91c698ca122efd4967d (diff)
parente26d9f7c35b0a84e6ae7181e0a6b9bf7568dea7b (diff)
Merge pull request #3332 from degasus/master
MSAA: Store samples in ini files.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 4254334d6c..3439481da5 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -347,8 +347,8 @@ static inline T GeneratePixelShader(DSTALPHA_MODE dstAlphaMode, API_TYPE ApiType
warn_once = false;
}
- uid_data->msaa = g_ActiveConfig.iMultisampleMode > 0;
- uid_data->ssaa = g_ActiveConfig.iMultisampleMode > 0 && g_ActiveConfig.bSSAA;
+ uid_data->msaa = g_ActiveConfig.iMultisamples > 1;
+ uid_data->ssaa = g_ActiveConfig.iMultisamples > 1 && g_ActiveConfig.bSSAA;
if (ApiType == API_OPENGL)
{
out.Write("out vec4 ocol0;\n");