aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/iface.h
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-10-03 13:16:59 +0200
committerGitHub <noreply@github.com>2018-10-03 13:16:59 +0200
commit43af104fa3939234794da3a15bca102138c3aa70 (patch)
tree35cf165496282f39060f549115863cae8272d9c2 /include/backend/drm/iface.h
parent1dd523c34c71a7d156c62bc3e3f033113b666e4d (diff)
parente88db9a3fb4208776b2a3ef35fdbd5fa344c0905 (diff)
Merge pull request #1277 from emersion/reset-gamma
backend/drm: reset gamma table on VT switch
Diffstat (limited to 'include/backend/drm/iface.h')
-rw-r--r--include/backend/drm/iface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h
index ef0e7bf8..5308b136 100644
--- a/include/backend/drm/iface.h
+++ b/include/backend/drm/iface.h
@@ -28,11 +28,11 @@ struct wlr_drm_interface {
struct wlr_drm_crtc *crtc, int x, int y);
// Set the gamma lut on crtc
bool (*crtc_set_gamma)(struct wlr_drm_backend *drm,
- struct wlr_drm_crtc *crtc, uint16_t *r, uint16_t *g, uint16_t *b,
- uint32_t size);
+ struct wlr_drm_crtc *crtc, size_t size,
+ uint16_t *r, uint16_t *g, uint16_t *b);
// Get the gamma lut size of a crtc
- uint32_t (*crtc_get_gamma_size)(struct wlr_drm_backend *drm,
- struct wlr_drm_crtc *crtc);
+ size_t (*crtc_get_gamma_size)(struct wlr_drm_backend *drm,
+ struct wlr_drm_crtc *crtc);
};
extern const struct wlr_drm_interface atomic_iface;