Module: Mesa Branch: master Commit: ec0a4fcec03cacfc3e075cf9e5e6584b672e4c82 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec0a4fcec03cacfc3e075cf9e5e6584b672e4c82
Author: Eric Engestrom <eric.engest...@imgtec.com> Date: Mon Dec 4 14:30:13 2017 +0000 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 <eric.engest...@imgtec.com> Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> --- src/mesa/drivers/dri/i915/intel_render.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i915/intel_render.c b/src/mesa/drivers/dri/i915/intel_render.c index c1603565cc..a395282624 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] = { _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit