From 254c0deae1db04ac96fb493b688fadf9bae80e9e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 22 Jul 2014 18:37:47 +0200 Subject: m comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/gamma-w32-gdi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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. */ -- cgit v1.2.3-70-g09d2