From ea664c8a3930724f1241412ec6e01d3d55f0b165 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 12 Sep 2012 20:54:12 +0200 Subject: [PATCH] Added comments. --- src/win32_monitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/win32_monitor.c b/src/win32_monitor.c index fe7cff1c..fe2ae7a1 100644 --- a/src/win32_monitor.c +++ b/src/win32_monitor.c @@ -58,6 +58,8 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) for (;;) { + // Enumerate display adapters + DISPLAY_DEVICE adapter; DWORD monitorIndex = 0; @@ -77,6 +79,8 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) for (;;) { + // Enumerate monitors for the display adapter + DISPLAY_DEVICE monitor; DEVMODE settings; const char* name;