From adb5b26bd94e0b90966307274f8fd6cada0fdb92 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 6 Mar 2021 16:52:22 +0100 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma_w32_gdi_get_crtc_information.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgamma_w32_gdi_get_crtc_information.c') diff --git a/libgamma_w32_gdi_get_crtc_information.c b/libgamma_w32_gdi_get_crtc_information.c index 7ffb0e2..d7bda38 100644 --- a/libgamma_w32_gdi_get_crtc_information.c +++ b/libgamma_w32_gdi_get_crtc_information.c @@ -10,11 +10,11 @@ * @param this Instance of a data structure to fill with the information about the CRTC * @param crtc The state of the CRTC whose information should be read * @param fields OR:ed identifiers for the information about the CRTC that should be read - * @return Zero on success, -1 on error. On error refer to the error reports in `this` + * @return Zero on success, -1 on error; on error refer to the error reports in `this` */ int libgamma_w32_gdi_get_crtc_information(libgamma_crtc_information_t *restrict this, - libgamma_crtc_state_t *restrict crtc, int32_t fields) + libgamma_crtc_state_t *restrict crtc, unsigned long long fields) { #define KNOWN_FIELDS (LIBGAMMA_CRTC_INFO_GAMMA_SIZE | LIBGAMMA_CRTC_INFO_GAMMA_DEPTH) #define _E(FIELD) ((fields & FIELD) ? LIBGAMMA_CRTC_INFO_NOT_SUPPORTED : 0) -- cgit v1.2.3-70-g09d2