diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-16 16:19:32 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-16 16:19:32 +0000 |
commit | 7daaf1f100319be93b534a926bb83efbe6733014 (patch) | |
tree | cd512d1e77be75c8bca61a3bb1f91db36815a124 /gfx.c | |
parent | effbba74f549ecb8699bf073b3b096a03751fe04 (diff) | |
download | openttd-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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]; |