Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11modes.c @ 1771:8d3ca155c396
Fixed bug #217
Sort the DirectX video modes largest to smallest
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 07 May 2006 04:02:48 +0000 |
parents | 814f9f2c7a33 |
children | 0e44c6f90b95 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c Sun May 07 03:44:58 2006 +0000 +++ b/src/video/x11/SDL_x11modes.c Sun May 07 04:02:48 2006 +0000 @@ -617,7 +617,7 @@ } /* sort the mode list descending as SDL expects */ - qsort(SDL_modelist, nsizes, sizeof *SDL_modelist, cmpmodelist); + SDL_qsort(SDL_modelist, nsizes, sizeof *SDL_modelist, cmpmodelist); SDL_modelist[i] = NULL; /* terminator */ use_xrandr = xrandr_major * 100 + xrandr_minor;