From cd125377fce057f7dbdd7afbbfa251311a91af5c Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 6 Sep 2017 17:34:09 +0200 Subject: Add wlr_output_{set_gamma,get_gamma_size} --- include/wlr/types/wlr_output.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 3371dcb5..b70bd19e 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -64,5 +64,8 @@ void wlr_output_effective_resolution(struct wlr_output *output, int *width, int *height); void wlr_output_make_current(struct wlr_output *output); void wlr_output_swap_buffers(struct wlr_output *output); +void wlr_output_set_gamma(struct wlr_output *output, + uint16_t size, uint16_t *r, uint16_t *g, uint16_t *b); +uint16_t wlr_output_get_gamma_size(struct wlr_output *output); #endif -- cgit v1.2.3