summaryrefslogtreecommitdiff
path: root/gfx.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
commit7daaf1f100319be93b534a926bb83efbe6733014 (patch)
treecd512d1e77be75c8bca61a3bb1f91db36815a124 /gfx.c
parenteffbba74f549ecb8699bf073b3b096a03751fe04 (diff)
downloadopenttd-7daaf1f100319be93b534a926bb83efbe6733014.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 'gfx.c')
-rw-r--r--gfx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx.c b/gfx.c
index 6a306c3bc..6c81b4216 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1979,6 +1979,8 @@ bool ChangeResInGame(int w, int h)
return true;
}
+void ToggleFullScreen(bool fs) {_video_driver->toggle_fullscreen(fs);}
+
static int CDECL compare_res(const void *pa, const void *pb)
{
int x = ((const uint16*)pa)[0] - ((const uint16*)pb)[0];