softgpu: Correct logic op state update.

This commit is contained in:
Unknown W. Brackets 2022-01-15 22:31:28 -08:00
parent 6896a7a64e
commit 6da7765309

View file

@ -199,6 +199,8 @@ void ComputePixelFuncID(PixelFuncID *id) {
if (id->applyFog) {
id->cached.fogColor = gstate.fogcolor & 0x00FFFFFF;
}
if (id->applyLogicOp)
id->cached.logicOp = gstate.getLogicOp();
id->cached.minz = gstate.getDepthRangeMin();
id->cached.maxz = gstate.getDepthRangeMax();
id->cached.framebufStride = gstate.FrameBufStride();