color_representation_v1: make supported_alpha_modes const

This commit is contained in:
Simon Ser 2025-10-28 20:45:11 +01:00 committed by Simon Zeni
parent fecaf6d1e8
commit e8f9e9eea6

View file

@ -44,12 +44,10 @@ struct wlr_color_representation_manager_v1 {
// Options used when initialising a wlr_color_representation_manager_v1 // Options used when initialising a wlr_color_representation_manager_v1
struct wlr_color_representation_v1_options { struct wlr_color_representation_v1_options {
enum wp_color_representation_surface_v1_alpha_mode const enum wp_color_representation_surface_v1_alpha_mode *supported_alpha_modes;
*supported_alpha_modes;
size_t supported_alpha_modes_len; size_t supported_alpha_modes_len;
const struct wlr_color_representation_v1_coeffs_and_range const struct wlr_color_representation_v1_coeffs_and_range *supported_coeffs_and_ranges;
*supported_coeffs_and_ranges;
size_t supported_coeffs_and_ranges_len; size_t supported_coeffs_and_ranges_len;
}; };