aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-10 16:18:44 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-05-11 03:51:01 -0400
commite6879616e731e6bc2109fbe50610c8c606e8228a (patch)
tree0a0bfd52fb391cb6eeca8d6bf21e0d7ec45bfc5c /include/wlr/render
parent84d07e711997e6842882d0751c319bf215faeac1 (diff)
wlr_drm_format: Make structure constant length
Don't store modifiers as part of the struct.
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/drm_format_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h
index 364a3c8d..8ae930be 100644
--- a/include/wlr/render/drm_format_set.h
+++ b/include/wlr/render/drm_format_set.h
@@ -22,7 +22,7 @@ struct wlr_drm_format {
// The capacity of the array; do not use.
size_t capacity;
// The actual modifiers
- uint64_t modifiers[];
+ uint64_t *modifiers;
};
/**