forked from mirror/OpenTTD
(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:
3
ttd.c
3
ttd.c
@@ -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
|
||||
|
Reference in New Issue
Block a user