diff options
| author | OatmealDome <julian@oatmealdome.me> | 2022-02-07 15:46:20 -0500 |
|---|---|---|
| committer | OatmealDome <julian@oatmealdome.me> | 2022-02-07 16:03:22 -0500 |
| commit | bdc55f9557477ecbaabf3a98f2560e461bc44ba9 (patch) | |
| tree | 6dfd5f66dea2dfaa8635f1d858d345285037d785 /Source/Core/VideoCommon/RenderState.cpp | |
| parent | 07fd17445c6ca4e89b0cef023ba711bb27c920aa (diff) | |
RenderState: Set source and destination alpha factors in logic op workaround
Diffstat (limited to 'Source/Core/VideoCommon/RenderState.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderState.cpp b/Source/Core/VideoCommon/RenderState.cpp index 15559ae67f..3b3554b4fe 100644 --- a/Source/Core/VideoCommon/RenderState.cpp +++ b/Source/Core/VideoCommon/RenderState.cpp @@ -196,7 +196,9 @@ void BlendingState::ApproximateLogicOpWithBlending() blendenable = true; subtract = approximations[u32(logicmode.Value())].subtract; srcfactor = approximations[u32(logicmode.Value())].srcfactor; + srcfactoralpha = approximations[u32(logicmode.Value())].srcfactor; dstfactor = approximations[u32(logicmode.Value())].dstfactor; + dstfactoralpha = approximations[u32(logicmode.Value())].dstfactor; } void SamplerState::Generate(const BPMemory& bp, u32 index) |
