From a7dd710f06fdb751f67a2db9533cbf38fc9b1a84 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 19 Jun 2007 15:18:26 +0000 Subject: (svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx) --- src/video/sdl_v.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video/sdl_v.cpp') diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index 087a3464c..e42226c3b 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -57,9 +57,9 @@ static void InitPalette() static void CheckPaletteAnim() { - Blitter *blitter = BlitterFactoryBase::GetCurrentBlitter(); - if (_pal_count_dirty != 0) { + Blitter *blitter = BlitterFactoryBase::GetCurrentBlitter(); + switch (blitter->UsePaletteAnimation()) { case Blitter::PALETTE_ANIMATION_VIDEO_BACKEND: UpdatePalette(_pal_first_dirty, _pal_count_dirty); -- cgit v1.2.3-70-g09d2