From ec0a4fcec03cacfc3e075cf9e5e6584b672e4c82 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 4 Dec 2017 14:30:13 +0000 Subject: 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 Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/i915/intel_render.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/i915') 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] = { -- cgit v1.2.3