aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r--include/wlr/render/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 612e0afb..1e2271e4 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -42,7 +42,7 @@ struct wlr_renderer_impl {
struct wlr_renderer *renderer);
const struct wlr_drm_format_set *(*get_dmabuf_render_formats)(
struct wlr_renderer *renderer);
- enum wl_shm_format (*preferred_read_format)(struct wlr_renderer *renderer);
+ uint32_t (*preferred_read_format)(struct wlr_renderer *renderer);
bool (*read_pixels)(struct wlr_renderer *renderer, enum wl_shm_format fmt,
uint32_t *flags, uint32_t stride, uint32_t width, uint32_t height,
uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y,