Cocoa: Fix duplicate video mode detection

Closes #1830.
master
Philip Rideout ago%!(EXTRA string=5 years) committed by Camilla Löwy
parent 5d1d1a01e3
commit f5af421a6b
  1. 2
      src/cocoa_monitor.m

@ -527,7 +527,7 @@ GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* count)
} }
// Skip duplicate modes // Skip duplicate modes
if (i < *count) if (j < *count)
continue; continue;
(*count)++; (*count)++;

Loading…
Cancel
Save