mesa: add missing include
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 27 Jun 2017 10:47:14 +0000 (11:47 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 27 Jun 2017 13:33:49 +0000 (14:33 +0100)
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@amd.com>
Fixes: 585c5cf8a514783d9ed3 ("mesa: don't update draw buffer bounds in
      _mesa_update_state")
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/mesa/drivers/x11/xm_dd.c

index 27534da60c2775a1e18aa2bda3b4ff79c8d7aabb..3e61342512d93f77adf3435319b47be5bc94cf13 100644 (file)
@@ -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"