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/blitter/base.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/blitter/base.hpp') diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp index 9046bca5e..278f3b7c8 100644 --- a/src/blitter/base.hpp +++ b/src/blitter/base.hpp @@ -200,6 +200,11 @@ public: */ virtual int GetBytesPerPixel() = 0; + /** + * Post resize event + */ + virtual void PostResize() { }; + virtual ~Blitter() { } }; -- cgit v1.2.3-54-g00ecf