summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-12 18:09:48 +0000
committerrubidium <rubidium@openttd.org>2010-01-12 18:09:48 +0000
commit9c579a5adf869179e9f898233c93686bf0221f3b (patch)
tree3a7662939ce3ae5868059c4c6b9ea31cb2bc5539
parent70aad27dcbe0f6c26818da39ee246336eda5a5e6 (diff)
downloadopenttd-9c579a5adf869179e9f898233c93686bf0221f3b.tar.xz
(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server
-rw-r--r--src/video/dedicated_v.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index a6cb3dec2..d7dcc36af 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -147,6 +147,7 @@ const char *VideoDriver_Dedicated::Start(const char * const *parm)
_screen.height = _cur_resolution.height;
_screen.dst_ptr = _dedicated_video_mem;
ScreenSizeChanged();
+ BlitterFactoryBase::GetCurrentBlitter()->PostResize();
#if defined(WINCE)
/* WinCE doesn't support console stuff */