diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-02-09 19:35:44 +0100 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-02-09 19:35:44 +0100 |
commit | 0232269a2d92e76dfe20cfbde0646798ab080e95 (patch) | |
tree | 4bf43c15eb85f6f99c19284ddb0ab2b1db159ef8 /backend/drm | |
parent | b2f69416178d84e686e9024a262eaa1e18fdb966 (diff) |
Fix style
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/atomic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c index 164caf22..10714e35 100644 --- a/backend/drm/atomic.c +++ b/backend/drm/atomic.c @@ -221,7 +221,6 @@ static bool atomic_crtc_set_gamma(struct wlr_drm_backend *drm, free(gamma); struct atomic atom; - atomic_begin(crtc, &atom); atomic_add(&atom, crtc->id, crtc->props.gamma_lut, crtc->gamma_lut); 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 (uint32_t) gamma_lut_size; + return (uint32_t)gamma_lut_size; } const struct wlr_drm_interface atomic_iface = { |