diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-06 16:52:22 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-06 16:52:22 +0100 |
commit | adb5b26bd94e0b90966307274f8fd6cada0fdb92 (patch) | |
tree | 423d934f23abd225213c4d1228de5249f0b2e43d /set_ramps_fun.h | |
parent | Update todo (diff) | |
download | libgamma-adb5b26bd94e0b90966307274f8fd6cada0fdb92.tar.gz libgamma-adb5b26bd94e0b90966307274f8fd6cada0fdb92.tar.bz2 libgamma-adb5b26bd94e0b90966307274f8fd6cada0fdb92.tar.xz |
Add chroma and white point support from EDID, add version support to methods caps and CRTC info, support EDID 1.4, and support EDID with extensions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'set_ramps_fun.h')
-rw-r--r-- | set_ramps_fun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/set_ramps_fun.h b/set_ramps_fun.h index 5a3b541..a177568 100644 --- a/set_ramps_fun.h +++ b/set_ramps_fun.h @@ -12,7 +12,7 @@ size_t i, n; int e; /* Get the size of the gamma ramps */ -if (libgamma_get_crtc_information(&info, this, LIBGAMMA_CRTC_INFO_GAMMA_SIZE)) { +if (libgamma_get_crtc_information(&info, sizeof(info), this, LIBGAMMA_CRTC_INFO_GAMMA_SIZE)) { e = info.gamma_size_error; if (e < 0) return e; |