Permalink
Browse files

GPU: Minor cleanup.

  • Loading branch information...
unknownbrackets committed Dec 2, 2017
1 parent bbb4987 commit 9c52155d3fc11c5d56762d9e90c5e0a095b4c7a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 GPU/Common/GPUStateUtils.cpp
@@ -1323,7 +1323,7 @@ void ConvertStencilFuncState(GenericStencilFuncState &state) {
return;
// 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.zFail = gstate.getStencilOpZFail();

0 comments on commit 9c52155

Please sign in to comment.