Cleanup: remove redundant parenthesis
This commit is contained in:
@@ -283,11 +283,11 @@ void DRW_state_reset_ex(DRWState state)
|
||||
static void drw_state_validate(void)
|
||||
{
|
||||
/* Cannot write to stencil buffer without stencil test. */
|
||||
if ((DST.state & DRW_STATE_WRITE_STENCIL_ENABLED)) {
|
||||
if (DST.state & DRW_STATE_WRITE_STENCIL_ENABLED) {
|
||||
BLI_assert(DST.state & DRW_STATE_STENCIL_TEST_ENABLED);
|
||||
}
|
||||
/* Cannot write to depth buffer without depth test. */
|
||||
if ((DST.state & DRW_STATE_WRITE_DEPTH)) {
|
||||
if (DST.state & DRW_STATE_WRITE_DEPTH) {
|
||||
BLI_assert(DST.state & DRW_STATE_DEPTH_TEST_ENABLED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user