Mesa (main): dri_drawable: missing header

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 29 12:23:14 UTC 2021


Module: Mesa
Branch: main
Commit: 0357a2e012982d610b5292327ead8917f1a1ce77
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0357a2e012982d610b5292327ead8917f1a1ce77

Author: Eleni Maria Stea <elene.mst at gmail.com>
Date:   Tue Dec 28 15:52:44 2021 +0200

dri_drawable: missing header

dri_util.h must be included in dri_drawable.h for __DRI* types and
driDrawPriv to be defined.

Signed-off-by: Eleni Maria Stea <elene.mst at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14334>

---

 src/gallium/frontends/dri/dri_drawable.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/frontends/dri/dri_drawable.h b/src/gallium/frontends/dri/dri_drawable.h
index 4626bad0c00..2226d8a8c62 100644
--- a/src/gallium/frontends/dri/dri_drawable.h
+++ b/src/gallium/frontends/dri/dri_drawable.h
@@ -31,6 +31,7 @@
 #include "pipe/p_compiler.h"
 #include "pipe/p_format.h"
 #include "frontend/api.h"
+#include "dri_util.h"
 
 struct pipe_surface;
 struct st_framebuffer;



More information about the mesa-commit mailing list