mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
VideoCommon: fix dstAlpha
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user