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 /win32.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 'win32.c')
-rw-r--r-- | win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -783,7 +783,7 @@ static bool Win32GdiChangeRes(int w, int h) return true; } -void ToggleFullScreen(bool full_screen) {MakeWindow(full_screen);} +static void Win32GdiFullScreen(bool full_screen) {MakeWindow(full_screen);} const HalVideoDriver _win32_video_driver = { Win32GdiStart, @@ -791,6 +791,7 @@ const HalVideoDriver _win32_video_driver = { Win32GdiMakeDirty, Win32GdiMainLoop, Win32GdiChangeRes, + Win32GdiFullScreen, }; |