aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-22 18:37:47 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-22 18:37:47 +0200
commit254c0deae1db04ac96fb493b688fadf9bae80e9e (patch)
tree142195c98d81507ee8848a62dfc5f520b7450ec2
parentgamma-w32-gdi: do not test gamma ramp caps., it might be incorrection (diff)
downloadlibgamma-254c0deae1db04ac96fb493b688fadf9bae80e9e.tar.gz
libgamma-254c0deae1db04ac96fb493b688fadf9bae80e9e.tar.bz2
libgamma-254c0deae1db04ac96fb493b688fadf9bae80e9e.tar.xz
m comment
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/lib/gamma-w32-gdi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/gamma-w32-gdi.c b/src/lib/gamma-w32-gdi.c
index 2f38c8a..c86bc65 100644
--- a/src/lib/gamma-w32-gdi.c
+++ b/src/lib/gamma-w32-gdi.c
@@ -215,7 +215,9 @@ int libgamma_w32_gdi_crtc_initialise(libgamma_crtc_state_t* restrict this,
if (!EnumDisplayDevices(NULL, (DWORD)crtc, &display, 0))
return LIBGAMMA_NO_SUCH_CRTC;
/* Check that the connector is enabled,
- * newer versions of Windows will always pass. */
+ * newer versions of Windows will always pass.
+ * (According to w32's documentation, but that
+ * that is a load of crap.)*/
if (!(display.StateFlags & DISPLAY_DEVICE_ACTIVE))
return LIBGAMMA_CONNECTOR_DISABLED;
/* Acquire CRTC connection. */