diff options
author | rubidium <rubidium@openttd.org> | 2011-02-26 19:13:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-26 19:13:58 +0000 |
commit | 3e5924b10f9b301c573f16141e2ffd5038fcebc2 (patch) | |
tree | 54811f8a6c860c96d4c94938941818f80c90e485 /src/video/win32_v.h | |
parent | ab837c0af090f1243acd3f9698a3f73a9c0bdf82 (diff) | |
download | openttd-3e5924b10f9b301c573f16141e2ffd5038fcebc2.tar.xz |
(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
Diffstat (limited to 'src/video/win32_v.h')
-rw-r--r-- | src/video/win32_v.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/win32_v.h b/src/video/win32_v.h index efd82671c..4e267b2ab 100644 --- a/src/video/win32_v.h +++ b/src/video/win32_v.h @@ -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> { |