summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-14 21:03:46 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-14 21:03:46 +0000
commita77e736431d847ad322bc808a59b9ad821461fd8 (patch)
tree448c0d0769eb0f3492ceca1d14bac7752922541c
parenta77a211ef7643adc63b54961a57b46558959b73b (diff)
downloadopenttd-a77e736431d847ad322bc808a59b9ad821461fd8.tar.xz
(svn r2311) - Fix: eh, forgot to remove moved function.
-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},