|
|
@ -221,7 +221,6 @@ static bool atomic_crtc_set_gamma(struct wlr_drm_backend *drm,
|
|
|
|
free(gamma);
|
|
|
|
free(gamma);
|
|
|
|
|
|
|
|
|
|
|
|
struct atomic atom;
|
|
|
|
struct atomic atom;
|
|
|
|
|
|
|
|
|
|
|
|
atomic_begin(crtc, &atom);
|
|
|
|
atomic_begin(crtc, &atom);
|
|
|
|
atomic_add(&atom, crtc->id, crtc->props.gamma_lut, crtc->gamma_lut);
|
|
|
|
atomic_add(&atom, crtc->id, crtc->props.gamma_lut, crtc->gamma_lut);
|
|
|
|
return atomic_end(drm->fd, &atom);
|
|
|
|
return atomic_end(drm->fd, &atom);
|
|
|
|