From 77b829e15fcbe14598a34ec3a420a652d1aee74a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 21 Sep 2022 10:11:35 +0200 Subject: screencopy-v1: use DRM format code for shm buffers Will allow us to simplify common shm/DMA-BUF logic later on. --- include/wlr/types/wlr_screencopy_v1.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h index 87985cb1..26b4eef1 100644 --- a/include/wlr/types/wlr_screencopy_v1.h +++ b/include/wlr/types/wlr_screencopy_v1.h @@ -37,8 +37,7 @@ struct wlr_screencopy_frame_v1 { struct wlr_screencopy_v1_client *client; struct wl_list link; // wlr_screencopy_manager_v1.frames - enum wl_shm_format shm_format; - uint32_t dmabuf_format; + uint32_t shm_format, dmabuf_format; // DRM format codes struct wlr_box box; int stride; -- cgit v1.2.3