From abb147d9742f349513d076a76b2957eb573d78e7 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 4 Jan 2010 02:32:36 +0000 Subject: (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. --- src/video/allegro_v.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video/allegro_v.cpp') diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp index d1717f9b1..dac11071e 100644 --- a/src/video/allegro_v.cpp +++ b/src/video/allegro_v.cpp @@ -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]; -- cgit v1.2.3-54-g00ecf