summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r--lib/intel_batchbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 74cf13bb..77a63347 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -160,7 +160,7 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
XY_SRC_COPY_BLT_WRITE_ALPHA | \
XY_SRC_COPY_BLT_WRITE_RGB | \
(flags) | \
- (6 + (2*batch->gen >= 8))); \
+ (6 + 2*(batch->gen >= 8))); \
} while(0)
#define COLOR_BLIT_COPY_BATCH_START(flags) do { \