Skip to content

Commit

Permalink
GPU: Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Dec 2, 2017
1 parent bbb4987 commit 9c52155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/Common/GPUStateUtils.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ void ConvertStencilFuncState(GenericStencilFuncState &state) {
return; return;


// The PSP's mask is reversed (bits not to write.) // The PSP's mask is reversed (bits not to write.)
state.writeMask = (~(gstate.pmska >> 0)) & 0xFF; state.writeMask = (~gstate.pmska) & 0xFF;


state.sFail = gstate.getStencilOpSFail(); state.sFail = gstate.getStencilOpSFail();
state.zFail = gstate.getStencilOpZFail(); state.zFail = gstate.getStencilOpZFail();
Expand Down

0 comments on commit 9c52155

Please sign in to comment.