summaryrefslogtreecommitdiff
path: root/sdl.c
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
commit0269361b28070bf3338ebaa76dd4da345a3693f0 (patch)
tree448c0d0769eb0f3492ceca1d14bac7752922541c /sdl.c
parent2aa94201dc19b86e2c1bb5e2c724b52332833ccc (diff)
downloadopenttd-0269361b28070bf3338ebaa76dd4da345a3693f0.tar.xz
(svn r2311) - Fix: eh, forgot to remove moved function.
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},