summaryrefslogtreecommitdiff
path: root/win32.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 /win32.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 'win32.c')
-rw-r--r--win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 6382ae0bf..6f2a746b3 100644
--- a/win32.c
+++ b/win32.c
@@ -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,
};