summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-06-27 11:47:14 +0100
committerEric Engestrom <[email protected]>2017-06-27 14:33:49 +0100
commitb3eda74acf4bdf7d6982a08876e0cfe79fad94a7 (patch)
tree930da609e45db274e82e53599a7ec1187e1f0a7d /src
parent3e0d54d270b88143df90bdd256e041cb87d53eb1 (diff)
mesa: add missing include
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 <[email protected]> Fixes: 585c5cf8a514783d9ed3 ("mesa: don't update draw buffer bounds in _mesa_update_state") Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index 27534da60c2..3e61342512d 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"