diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-03 07:38:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-03 07:38:05 +0200 |
commit | 8d2ddd2cd185b0749335967e635ec75cdc47a1f8 (patch) | |
tree | 50d9a0e5edeac151ec7a60a6381fcda542916b46 /src/lib | |
parent | m fixes + print all crtc info , except connector type and subpixel order, in the test (diff) | |
download | libgamma-8d2ddd2cd185b0749335967e635ec75cdc47a1f8.tar.gz libgamma-8d2ddd2cd185b0749335967e635ec75cdc47a1f8.tar.bz2 libgamma-8d2ddd2cd185b0749335967e635ec75cdc47a1f8.tar.xz |
fix gamma ramp size fetch for vidmode
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/gamma-x-vidmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gamma-x-vidmode.c b/src/lib/gamma-x-vidmode.c index 654995c..c0a68fc 100644 --- a/src/lib/gamma-x-vidmode.c +++ b/src/lib/gamma-x-vidmode.c @@ -230,7 +230,7 @@ int libgamma_x_vidmode_get_crtc_information(libgamma_crtc_information_t* restric this->gamma_size_error = 0; /* X VidMode does support gamma ramp size query. The gamma ramps are identical but not fixed, and the query can fail. */ - if ((fields & LIBGAMMA_CRTC_INFO_GAMMA_SUPPORT)) + if ((fields & LIBGAMMA_CRTC_INFO_GAMMA_SIZE)) { Display* restrict connection = crtc->partition->site->data; int stops = 0; |