Add wlr_output_{set_gamma,get_gamma_size}

This commit is contained in:
emersion 2017-09-06 17:34:09 +02:00
parent 1b588e7c1f
commit cd125377fc
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 27 additions and 2 deletions

View file

@ -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