RenderState: Set source and destination alpha factors in logic op workaround

This commit is contained in:
OatmealDome 2022-02-07 15:46:20 -05:00
parent 07fd17445c
commit bdc55f9557
1 changed files with 2 additions and 0 deletions

View File

@ -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)