mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Merge pull request #10441 from OatmealDome/improved-logic-op-workaround
BlendingState: Set source and destination alpha factors in logic op workaround
This commit is contained in:
commit
f65dc6d525
1 changed files with 2 additions and 0 deletions
|
@ -196,7 +196,9 @@ void BlendingState::ApproximateLogicOpWithBlending()
|
||||||
blendenable = true;
|
blendenable = true;
|
||||||
subtract = approximations[u32(logicmode.Value())].subtract;
|
subtract = approximations[u32(logicmode.Value())].subtract;
|
||||||
srcfactor = approximations[u32(logicmode.Value())].srcfactor;
|
srcfactor = approximations[u32(logicmode.Value())].srcfactor;
|
||||||
|
srcfactoralpha = approximations[u32(logicmode.Value())].srcfactor;
|
||||||
dstfactor = approximations[u32(logicmode.Value())].dstfactor;
|
dstfactor = approximations[u32(logicmode.Value())].dstfactor;
|
||||||
|
dstfactoralpha = approximations[u32(logicmode.Value())].dstfactor;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SamplerState::Generate(const BPMemory& bp, u32 index)
|
void SamplerState::Generate(const BPMemory& bp, u32 index)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue