diff options
author | Simon Ser <contact@emersion.fr> | 2022-09-21 10:11:35 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-09-22 18:01:52 +0000 |
commit | 77b829e15fcbe14598a34ec3a420a652d1aee74a (patch) | |
tree | 97095d266681c5d900f330e32e4f6247fcfa4abf /include | |
parent | 4885c08f38b9796b8de2f1f613402ffc82794dd3 (diff) |
screencopy-v1: use DRM format code for shm buffers
Will allow us to simplify common shm/DMA-BUF logic later on.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_screencopy_v1.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; |