summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sdl.c b/sdl.c
index e039a51d9..f8f3e650e 100644
--- a/sdl.c
+++ b/sdl.c
@@ -232,13 +232,6 @@ static void DrawSurfaceToScreen(void)
}
}
-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},