mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Fix style
This commit is contained in:
parent
b2f6941617
commit
0232269a2d
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
@ -237,7 +236,7 @@ static uint32_t atomic_crtc_get_gamma_size(struct wlr_drm_backend *drm,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (uint32_t) gamma_lut_size;
|
return (uint32_t)gamma_lut_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct wlr_drm_interface atomic_iface = {
|
const struct wlr_drm_interface atomic_iface = {
|
||||||
|
|
Loading…
Reference in a new issue