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
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue