aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-12-04 14:30:13 +0000
committerEric Engestrom <[email protected]>2017-12-12 13:59:46 +0000
commitec0a4fcec03cacfc3e075cf9e5e6584b672e4c82 (patch)
tree9017867ff79881230a8fac97a44436fec733d12a
parentaccb7d439094ce284b139a5e87930b489702f8eb (diff)
i915: add missing 0 defines
Thanks to Emil's -Wundef, t_dd_dmatmp.h now complains that intel_render.c is missing a couple `#define`s. Assigning them to 0 keeps the existing behaviour; I'll let someone else turn them on if this is the behaviour that was intended. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i915/intel_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_render.c b/src/mesa/drivers/dri/i915/intel_render.c
index c1603565cc2..a3952826246 100644
--- a/src/mesa/drivers/dri/i915/intel_render.c
+++ b/src/mesa/drivers/dri/i915/intel_render.c
@@ -62,6 +62,8 @@
#define HAVE_TRI_FANS 1
#define HAVE_POLYGONS 1
+#define HAVE_QUADS 0
+#define HAVE_QUAD_STRIPS 0
#define HAVE_ELTS 0
static const uint32_t hw_prim[GL_POLYGON + 1] = {