[Mesa-dev] [PATCH 1/2] i965: Include missing header at intel_tex.h
Eduardo Lima Mitev
elima at igalia.com
Fri Aug 25 07:04:35 UTC 2017
The symbol 'enum intel_miptree_create_flags' is used there but it is
defined at 'intel_mipmap_tree.h', which is not included. This is causing
a compile warning.
---
src/mesa/drivers/dri/i965/intel_tex.h | 1 +
1 file changed, 1 insertion(+)
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);
--
2.11.0
More information about the mesa-dev
mailing list