aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/via_verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/via_verifier.c b/shared-core/via_verifier.c
index c9723fe1..c80ed818 100644
--- a/shared-core/via_verifier.c
+++ b/shared-core/via_verifier.c
@@ -454,7 +454,7 @@ investigate_hazard(uint32_t cmd, hazard_t hz, drm_via_state_t * cur_seq)
cur_seq->unfinished = tex_address;
tmp = ((cmd >> 24) - HC_SubA_HTXnL0Pit);
if (tmp == 0 &&
- cmd & HC_HTXnEnPit_MASK) {
+ (cmd & HC_HTXnEnPit_MASK)) {
cur_seq->pitch[cur_seq->texture][tmp] =
(cmd & HC_HTXnLnPit_MASK);
cur_seq->tex_npot[cur_seq->texture] = 1;