From 2a0fc8286483034a627b5d66eaea45df7f2b0b49 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 12 Feb 2016 15:20:29 -0800 Subject: [PATCH] i915: include teximage.h To get _mesa_num_tex_faces() prototype. --- src/mesa/drivers/dri/i915/intel_tex_validate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i915/intel_tex_validate.c b/src/mesa/drivers/dri/i915/intel_tex_validate.c index 224a67fc6eb..c2111e5e209 100644 --- a/src/mesa/drivers/dri/i915/intel_tex_validate.c +++ b/src/mesa/drivers/dri/i915/intel_tex_validate.c @@ -1,6 +1,7 @@ #include "main/mtypes.h" #include "main/macros.h" #include "main/samplerobj.h" +#include "main/teximage.h" #include "main/texobj.h" #include "intel_context.h" -- 2.30.2