From cd10965a27fcca672b775928899c3e3777328b8b Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 19 Jun 2007 15:04:08 +0000 Subject: (svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed -Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation --- src/blitter/8bpp_base.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/blitter/8bpp_base.cpp') diff --git a/src/blitter/8bpp_base.cpp b/src/blitter/8bpp_base.cpp index 42da38937..6fe60ea18 100644 --- a/src/blitter/8bpp_base.cpp +++ b/src/blitter/8bpp_base.cpp @@ -182,3 +182,13 @@ int Blitter_8bppBase::BufferSize(int width, int height) { return width * height; } + +void Blitter_8bppBase::PaletteAnimate(uint start, uint count) +{ + /* Video backend takes care of the palette animation */ +} + +Blitter::PaletteAnimation Blitter_8bppBase::UsePaletteAnimation() +{ + return Blitter::PALETTE_ANIMATION_VIDEO_BACKEND; +} -- cgit v1.2.3-54-g00ecf