[Mesa-dev] [PATCH mesa] mesa: add missing include

Marek Olšák maraeo at gmail.com
Tue Jun 27 14:49:06 UTC 2017


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Jun 27, 2017 at 12:50 PM, Eric Engestrom
<eric.engestrom at imgtec.com> wrote:
> src/mesa/drivers/x11/xm_dd.c:688:7: warning: implicit declaration of function ‘_mesa_update_draw_buffer_bounds’; did you mean ‘_mesa_has_ARB_draw_buffers_blend’? [-Wimplicit-function-declaration]
>        _mesa_update_draw_buffer_bounds(ctx, ctx->DrawBuffer);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Cc: Marek Olšák <marek.olsak at amd.com>
> Fixes: 585c5cf8a514783d9ed3 ("mesa: don't update draw buffer bounds in
>                               _mesa_update_state")
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
>  src/mesa/drivers/x11/xm_dd.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
> index 27534da60c..3e61342512 100644
> --- a/src/mesa/drivers/x11/xm_dd.c
> +++ b/src/mesa/drivers/x11/xm_dd.c
> @@ -33,6 +33,7 @@
>  #include "main/context.h"
>  #include "main/colormac.h"
>  #include "main/fbobject.h"
> +#include "main/framebuffer.h"
>  #include "main/macros.h"
>  #include "main/mipmap.h"
>  #include "main/image.h"
> --
> Cheers,
>   Eric
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list