(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

3
ttd.c
View File

@@ -148,7 +148,7 @@ static int NullVideoMainLoop(void)
}
static bool NullVideoChangeRes(int w, int h) { return false; }
static void NullVideoFullScreen(bool fs) {}
const HalVideoDriver _null_video_driver = {
NullVideoStart,
@@ -156,6 +156,7 @@ const HalVideoDriver _null_video_driver = {
NullVideoMakeDirty,
NullVideoMainLoop,
NullVideoChangeRes,
NullVideoFullScreen,
};
// NULL sound driver