mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
VideoCommon: fix dstAlpha
This commit is contained in:
parent
0b2fb548c3
commit
50c404ce4a
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void PixelShaderManager::SetAlpha(const AlphaTest& alpha)
|
||||||
|
|
||||||
void PixelShaderManager::SetDestAlpha(const ConstantAlpha& alpha)
|
void PixelShaderManager::SetDestAlpha(const ConstantAlpha& alpha)
|
||||||
{
|
{
|
||||||
constants.alpha[3] = alpha.alpha;
|
constants.alpha[3] = alpha.alpha / 255.0f;
|
||||||
dirty = true;
|
dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue