summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-16 12:15:34 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-16 12:15:34 +0000
commit21b99af34458e4a670aab43d19b26526e3f22649 (patch)
treebe84391b9ca0b9d85bbe93c33fc8ad0e555a850e /sdl.c
parentd3f8772497dd39d9a25737dc11d069131afee26f (diff)
downloadopenttd-21b99af34458e4a670aab43d19b26526e3f22649.tar.xz
(svn r2330) - Fix: link error when compiling as dedicated. Add sdl.c to always compile in makefile as it is always protected by WITH_SDL and add a stub for ToggleFullScreen()
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index f6f5fe926..c81fb66d6 100644
--- a/sdl.c
+++ b/sdl.c
@@ -706,4 +706,9 @@ static void DbgRedraw()
}
#endif
-#endif // WITH_SDL
+#else
+
+/* Stub for dedicated server */
+void ToggleFullScreen(bool full_screen) {}
+
+#endif /* WITH_SDL */