Lines Matching defs:modes
38 // Lexically compare video modes, used by qsort
65 // Retrieves the available modes for the specified monitor
70 GLFWvidmode* modes;
72 if (monitor->modes)
75 modes = _glfw.platform.getVideoModes(monitor, &modeCount);
76 if (!modes)
79 qsort(modes, modeCount, sizeof(GLFWvidmode), compareVideoModes);
81 _glfw_free(monitor->modes);
82 monitor->modes = modes;
194 _glfw_free(monitor->modes);
236 current = monitor->modes + i;
448 return monitor->modes;