winemac.drv: Sort display modes.
commite66c9cadbb2f97d79a523927516d0649c4ae09e7
authorTim Clem <tclem@codeweavers.com>
Tue, 22 Mar 2022 18:06:02 +0000 (22 11:06 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Mar 2022 09:55:16 +0000 (23 10:55 +0100)
treec2e3e7aed19d141023a12a0b8bcd95d9ad426608
parentc2936f70e3333a5a0cad06b38fbd19a5ef313faa
winemac.drv: Sort display modes.

Mac driver version of a8b4cf7f2d3d1fbd79308a106a84e753cdac69e8.

Combined with the previous patch that reordered synthesized modes,
the Mac driver implementation of EnumDisplayModesEx now returns modes
in the same order as the X11 driver.

Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/display.c