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;