1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server

This commit is contained in:
rubidium
2010-01-12 18:09:48 +00:00
parent 70aad27dcb
commit 9c579a5adf

@@ -147,6 +147,7 @@ const char *VideoDriver_Dedicated::Start(const char * const *parm)
_screen.height = _cur_resolution.height; _screen.height = _cur_resolution.height;
_screen.dst_ptr = _dedicated_video_mem; _screen.dst_ptr = _dedicated_video_mem;
ScreenSizeChanged(); ScreenSizeChanged();
BlitterFactoryBase::GetCurrentBlitter()->PostResize();
#if defined(WINCE) #if defined(WINCE)
/* WinCE doesn't support console stuff */ /* WinCE doesn't support console stuff */