(svn r22149) -Fix [FS#4521]: Windows video driver crashed when it couldn't go to full screen at the resolution of the configuration file when starting OpenTTD

This commit is contained in:
rubidium
2011-02-26 19:13:58 +00:00
parent ab837c0af0
commit 3e5924b10f
2 changed files with 9 additions and 7 deletions

View File

@@ -28,6 +28,8 @@ public:
/* virtual */ bool ToggleFullscreen(bool fullscreen);
/* virtual */ const char *GetName() const { return "win32"; }
bool MakeWindow(bool full_screen);
};
class FVideoDriver_Win32: public VideoDriverFactory<FVideoDriver_Win32> {