i965/tex: add missing include
authorEric Engestrom <eric@engestrom.ch>
Sat, 9 Sep 2017 22:26:36 +0000 (23:26 +0100)
committerEric Engestrom <eric@engestrom.ch>
Sun, 10 Sep 2017 12:14:06 +0000 (13:14 +0100)
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 <eric@engestrom.ch>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_tex.h

index beefc4b61b0c9f33c5c1e71c2a33b5400009622f..f1b55c706eaffbc832cb2cfa41d838e8fc9c17d0 100644 (file)
@@ -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);