Skip to content

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
fincs committed Mar 31, 2020
1 parent c538169 commit 04d4e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/maxwell/gpu_3d_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void dkCmdBufClearColor(DkCmdBuf obj, uint32_t targetId, uint32_t clearMask, con

void dkCmdBufClearDepthStencil(DkCmdBuf obj, bool clearDepth, float depthValue, uint8_t stencilMask, uint8_t stencilValue)
{
if (!clearDepth || !stencilMask)
if (!clearDepth && !stencilMask)
return;

CmdBufWriter w{obj};
Expand Down

0 comments on commit 04d4e9e

Please sign in to comment.