Browse Source

Added comments.

Camilla Berglund 13 years ago
parent
commit
ea664c8a39
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/win32_monitor.c

+ 4 - 0
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;