aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-29 10:39:54 -0500
committerGitHub <noreply@github.com>2019-01-29 10:39:54 -0500
commitfeb1b9b1cbcf675a4bb449ce30c50522cb8b09f5 (patch)
treef916d3f043498073b8bd4a2b84777cb2777ae079 /include/backend/drm/drm.h
parent9fe8e379613c42338920e913c6ffd6d1c273da67 (diff)
parentee293fab58da190943426a6d23380dd04200a4ff (diff)
Merge pull request #1509 from emersion/gbm-fmt-mismatch
backend/drm: fix GBM format mismatch
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index de5212d3..37d9828f 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -26,6 +26,8 @@ struct wlr_drm_plane {
struct wlr_drm_surface surf;
struct wlr_drm_surface mgpu_surf;
+ uint32_t drm_format; // ARGB8888 or XRGB8888
+
// Only used by cursor
float matrix[9];
struct gbm_bo *cursor_bo;