forked from mirror/OpenTTD
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
This commit is contained in:
@@ -221,6 +221,8 @@ static bool CreateMainSurface(uint w, uint h)
|
||||
_cursor.pos.x = mouse_x;
|
||||
_cursor.pos.y = mouse_y;
|
||||
|
||||
BlitterFactoryBase::GetCurrentBlitter()->PostResize();
|
||||
|
||||
InitPalette();
|
||||
|
||||
char caption[32];
|
||||
|
Reference in New Issue
Block a user