From 7daaf1f100319be93b534a926bb83efbe6733014 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 16 May 2005 16:19:32 +0000 Subject: (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. --- dedicated.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dedicated.c') diff --git a/dedicated.c b/dedicated.c index 2ce1a7fa4..11c83fc0c 100644 --- a/dedicated.c +++ b/dedicated.c @@ -167,6 +167,7 @@ static void DedicatedVideoStop(void) static void DedicatedVideoMakeDirty(int left, int top, int width, int height) {} static bool DedicatedVideoChangeRes(int w, int h) { return false; } +static void DedicatedVideoFullScreen(bool fs) {} #if defined(UNIX) || defined(__OS2__) static bool InputWaiting(void) @@ -322,6 +323,7 @@ const HalVideoDriver _dedicated_video_driver = { DedicatedVideoMakeDirty, DedicatedVideoMainLoop, DedicatedVideoChangeRes, + DedicatedVideoFullScreen, }; #else @@ -339,6 +341,7 @@ void DedicatedFork(void) {} static void DedicatedVideoStop(void) { free(_dedicated_video_mem); } static void DedicatedVideoMakeDirty(int left, int top, int width, int height) {} static bool DedicatedVideoChangeRes(int w, int h) { return false; } +static void DedicatedVideoFullScreen(bool fs) {} static int DedicatedVideoMainLoop(void) { return ML_QUIT; } const HalVideoDriver _dedicated_video_driver = { @@ -347,6 +350,7 @@ const HalVideoDriver _dedicated_video_driver = { DedicatedVideoMakeDirty, DedicatedVideoMainLoop, DedicatedVideoChangeRes, + DedicatedVideoFullScreen, }; #endif /* ENABLE_NETWORK */ -- cgit v1.2.3-54-g00ecf