<div dir="ltr"><div>This one has been bugging me too. Just not enough to actually fix it. :-P<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 9, 2017 at 3:35 PM, Eric Engestrom <span dir="ltr"><<a href="mailto:eric@engestrom.ch" target="_blank">eric@engestrom.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">src/mesa/drivers/dri/i965/<wbr>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<br>
enum intel_miptree_create_flags flags);<br>
^~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
Fixes: cadcd89278edcda8aba2 "i965/tex: Change the flags type on<br>
create_for_teximage"<br>
Signed-off-by: Eric Engestrom <<a href="mailto:eric@engestrom.ch">eric@engestrom.ch</a>><br>
---<br>
src/mesa/drivers/dri/i965/<wbr>intel_tex.h | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_tex.h b/src/mesa/drivers/dri/i965/<wbr>intel_tex.h<br>
index beefc4b61b..f1b55c706e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_tex.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_tex.h<br>
@@ -29,6 +29,7 @@<br>
#include "main/mtypes.h"<br>
#include "main/formats.h"<br>
#include "brw_context.h"<br>
+#include "intel_mipmap_tree.h"<br>
<br>
void intelInitTextureFuncs(struct dd_function_table *functions);<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Cheers,<br>
Eric<br>
<br>
</font></span></blockquote></div><br></div>