aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-15 15:33:58 +0100
committeremersion <contact@emersion.fr>2018-03-15 15:33:58 +0100
commit824a95ad19062e867178593f0937d14049422989 (patch)
tree1ad1793d6e7379979340eff1f0385afa549ea58d /include/backend/drm
parentd26b67cb06509fb39d9ed473a5d27b1f241ff635 (diff)
matrix: use 2D matrices
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index ee3fd38e..26189340 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -26,7 +26,7 @@ struct wlr_drm_plane {
struct wlr_drm_surface mgpu_surf;
// Only used by cursor
- float matrix[16];
+ float matrix[9];
struct wlr_texture *wlr_tex;
struct gbm_bo *cursor_bo;
bool cursor_enabled;