浏览代码

Added comments.

Camilla Berglund 13 年之前
父节点
当前提交
ea664c8a39
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;