author | Darkvater |
Sat, 14 May 2005 21:03:46 +0000 | |
changeset 1807 | 868a095fca4c |
parent 1806 | 5a55d508c23e |
child 1808 | 29e271b6c99a |
--- a/sdl.c Sat May 14 21:01:57 2005 +0000 +++ b/sdl.c Sat May 14 21:03:46 2005 +0000 @@ -232,13 +232,6 @@ } } -static int CDECL compare_res(const void *pa, const void *pb) -{ - int x = ((const uint16*)pa)[0] - ((const uint16*)pb)[0]; - if (x != 0) return x; - return ((const uint16*)pa)[1] - ((const uint16*)pb)[1]; -} - static const uint16 default_resolutions[][2] = { { 640, 480}, { 800, 600},