Fix description of video mode ordering in docs

The two final sorting criteria were not included in the documentation.

Fixes #1889.
master
Camilla Löwy ago%!(EXTRA string=4 years)
parent e3f916808d
commit 0e9ec7788b
  1. 1
      README.md
  2. 5
      include/GLFW/glfw3.h

@ -294,6 +294,7 @@ skills.
- Andrew Corrigan
- Bailey Cosier
- Noel Cower
- CuriouserThing
- Jason Daly
- Jarrod Davis
- Olivier Delannoy

@ -2422,8 +2422,9 @@ GLFWAPI GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback);
*
* This function returns an array of all video modes supported by the specified
* monitor. The returned array is sorted in ascending order, first by color
* bit depth (the sum of all channel depths) and then by resolution area (the
* product of width and height).
* bit depth (the sum of all channel depths), then by resolution area (the
* product of width and height), then resolution width and finally by refresh
* rate.
*
* @param[in] monitor The monitor to query.
* @param[out] count Where to store the number of video modes in the returned

Loading…
Cancel
Save