Skip to content

Commit 04d4e9e

Browse files
committed
Whoops
1 parent c538169 commit 04d4e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/maxwell/gpu_3d_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ void dkCmdBufClearColor(DkCmdBuf obj, uint32_t targetId, uint32_t clearMask, con
485485

486486
void dkCmdBufClearDepthStencil(DkCmdBuf obj, bool clearDepth, float depthValue, uint8_t stencilMask, uint8_t stencilValue)
487487
{
488-
if (!clearDepth || !stencilMask)
488+
if (!clearDepth && !stencilMask)
489489
return;
490490

491491
CmdBufWriter w{obj};

0 commit comments

Comments
 (0)