summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-09-09 23:26:36 +0100
committerEric Engestrom <[email protected]>2017-09-10 13:14:06 +0100
commitce7164252e0f1a2fa6bd28dfe4c7ea1f63f3fb94 (patch)
tree78831e285d6a16e5cb9035904109eddab4160a24
parente3c942515884fa3c081b29ddf864f8756baaf2d2 (diff)
i965/tex: add missing include
src/mesa/drivers/dri/i965/intel_tex.h:52:40: warning: ‘enum intel_miptree_create_flags’ declared inside parameter list will not be visible outside of this definition or declaration enum intel_miptree_create_flags flags); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: cadcd89278edcda8aba2 "i965/tex: Change the flags type on create_for_teximage" Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.h b/src/mesa/drivers/dri/i965/intel_tex.h
index beefc4b61b0..f1b55c706ea 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.h
+++ b/src/mesa/drivers/dri/i965/intel_tex.h
@@ -29,6 +29,7 @@
#include "main/mtypes.h"
#include "main/formats.h"
#include "brw_context.h"
+#include "intel_mipmap_tree.h"
void intelInitTextureFuncs(struct dd_function_table *functions);