aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-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. */