mirror of
https://github.com/glfw/glfw.git
synced 2025-10-02 21:00:57 +00:00
Cocoa: Fix duplicate video mode detection.
This commit is contained in:
parent
0b9e48fa3d
commit
06db51381e
@ -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…
Reference in New Issue
Block a user