summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-16 16:19:32 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-16 16:19:32 +0000
commit6b794ede3b9db3daa58e4596827a20f6fce74191 (patch)
treecd512d1e77be75c8bca61a3bb1f91db36815a124 /ttd.c
parent3d84bdc0ae9c277e04db36b14645c43764916da4 (diff)
downloadopenttd-6b794ede3b9db3daa58e4596827a20f6fce74191.tar.xz
(svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index 92470e6ec..c7cb42f02 100644
--- a/ttd.c
+++ b/ttd.c
@@ -148,7 +148,7 @@ static int NullVideoMainLoop(void)
}
static bool NullVideoChangeRes(int w, int h) { return false; }
-
+static void NullVideoFullScreen(bool fs) {}
const HalVideoDriver _null_video_driver = {
NullVideoStart,
@@ -156,6 +156,7 @@ const HalVideoDriver _null_video_driver = {
NullVideoMakeDirty,
NullVideoMainLoop,
NullVideoChangeRes,
+ NullVideoFullScreen,
};
// NULL sound driver