summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-10-09 16:33:45 +0200
committerdegasus <wickmarkus@web.de>2013-10-12 20:31:59 +0200
commit50c404ce4af8f256aeac1c6764c0d92e675afab9 (patch)
tree4d3f63b188df5232d10bed7888bc8aa928c63d14 /Source/Core/VideoCommon/Src/PixelShaderManager.cpp
parent0b2fb548c3fff6866359f656f202d6d3c8b125d5 (diff)
VideoCommon: fix dstAlpha
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
index 8afcb4429b..15d7e5def1 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
@@ -138,7 +138,7 @@ void PixelShaderManager::SetAlpha(const AlphaTest& alpha)
void PixelShaderManager::SetDestAlpha(const ConstantAlpha& alpha)
{
- constants.alpha[3] = alpha.alpha;
+ constants.alpha[3] = alpha.alpha / 255.0f;
dirty = true;
}