summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-drm/wayland-drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/wayland/wayland-drm/wayland-drm.h')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h
index 4324b591425..c9a90cad1ba 100644
--- a/src/egl/wayland/wayland-drm/wayland-drm.h
+++ b/src/egl/wayland/wayland-drm/wayland-drm.h
@@ -5,6 +5,7 @@
#include "eglimage.h"
#include <wayland-server.h>
+#include "wayland-drm-server-protocol.h"
struct wl_drm;
@@ -13,7 +14,7 @@ struct wayland_drm_callbacks {
void *(*reference_buffer)(void *user_data, uint32_t name,
int32_t width, int32_t height,
- uint32_t stride, struct wl_visual *visual);
+ uint32_t stride, uint32_t format);
void (*release_buffer)(void *user_data, void *buffer);
};