From 2aa6086256bbdbcad6dff7d32464c8f1f4cc9393 Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 3 Jan 2012 10:50:06 +0000 Subject: (svn r23729) -Fix (r23670) [FS#4941]: if you increase the buffer size, also increase the bytes per pixel --- src/blitter/32bpp_anim.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blitter') diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp index 73cabb90d..43e074ce5 100644 --- a/src/blitter/32bpp_anim.hpp +++ b/src/blitter/32bpp_anim.hpp @@ -41,7 +41,7 @@ public: /* virtual */ Blitter::PaletteAnimation UsePaletteAnimation(); /* virtual */ const char *GetName() { return "32bpp-anim"; } - /* virtual */ int GetBytesPerPixel() { return 5; } + /* virtual */ int GetBytesPerPixel() { return 6; } /* virtual */ void PostResize(); /** -- cgit v1.2.3-70-g09d2