(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.

This commit is contained in:
Darkvater
2005-05-16 16:19:32 +00:00
parent effbba74f5
commit 7daaf1f100
8 changed files with 18 additions and 10 deletions

View File

@@ -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,
};