[Mesa-dev] [PATCH mesa] i965/tex: add missing include
Jason Ekstrand
jason at jlekstrand.net
Sun Sep 10 01:47:10 UTC 2017
This one has been bugging me too. Just not enough to actually fix it. :-P
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Sat, Sep 9, 2017 at 3:35 PM, Eric Engestrom <eric at engestrom.ch> wrote:
> 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 at engestrom.ch>
> ---
> 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 beefc4b61b..f1b55c706e 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);
>
> --
> Cheers,
> Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170909/baa53008/attachment.html>
More information about the mesa-dev
mailing list