aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_w32_gdi_get_crtc_information.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-06 16:52:22 +0100
committerMattias Andrée <maandree@kth.se>2021-03-06 16:52:22 +0100
commitadb5b26bd94e0b90966307274f8fd6cada0fdb92 (patch)
tree423d934f23abd225213c4d1228de5249f0b2e43d /libgamma_w32_gdi_get_crtc_information.c
parentUpdate todo (diff)
downloadlibgamma-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 'libgamma_w32_gdi_get_crtc_information.c')
-rw-r--r--libgamma_w32_gdi_get_crtc_information.c4
1 files changed, 2 insertions, 2 deletions
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)