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
win32.c
3
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,
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user