From 61625e53c96572528745b79a63ba614b74c8f301 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 Dec 2011 19:37:33 +0000 Subject: (svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated blitter so changes of the palette data during the game don't influence drawing (with SDL) --- src/blitter/8bpp_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blitter/8bpp_base.hpp') diff --git a/src/blitter/8bpp_base.hpp b/src/blitter/8bpp_base.hpp index f6dbdcc09..2dff78499 100644 --- a/src/blitter/8bpp_base.hpp +++ b/src/blitter/8bpp_base.hpp @@ -27,7 +27,7 @@ public: /* virtual */ void CopyImageToBuffer(const void *video, void *dst, int width, int height, int dst_pitch); /* virtual */ void ScrollBuffer(void *video, int &left, int &top, int &width, int &height, int scroll_x, int scroll_y); /* virtual */ int BufferSize(int width, int height); - /* virtual */ void PaletteAnimate(uint start, uint count); + /* virtual */ void PaletteAnimate(const Palette &palette); /* virtual */ Blitter::PaletteAnimation UsePaletteAnimation(); /* virtual */ int GetBytesPerPixel() { return 1; } }; -- cgit v1.2.3-54-g00ecf