From 3e5924b10f9b301c573f16141e2ffd5038fcebc2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 26 Feb 2011 19:13:58 +0000 Subject: (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 --- src/video/win32_v.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video/win32_v.h') 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 { -- cgit v1.2.3-54-g00ecf