i915: add missing 0 defines
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 4 Dec 2017 14:30:13 +0000 (14:30 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 12 Dec 2017 13:59:46 +0000 (13:59 +0000)
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 <eric.engestrom@imgtec.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/intel_render.c

index c160356..a395282 100644 (file)
@@ -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] = {