diff options
author | truelight <truelight@openttd.org> | 2007-06-19 15:18:26 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-19 15:18:26 +0000 |
commit | f5271393e1bd79cba7ce7fce6f944d048c512d6f (patch) | |
tree | 8678e3f66f8c41ce67c017d6dff9a41ad03af837 /src/video/cocoa_v.mm | |
parent | cd10965a27fcca672b775928899c3e3777328b8b (diff) | |
download | openttd-f5271393e1bd79cba7ce7fce6f944d048c512d6f.tar.xz |
(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx)
Diffstat (limited to 'src/video/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa_v.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm index eb0b5919b..f34525bc6 100644 --- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -206,6 +206,8 @@ static uint32 GetTick() static void QZ_CheckPaletteAnim() { if (_pal_count_dirty != 0) { + Blitter *blitter = BlitterFactoryBase::GetCurrentBlitter(); + switch (blitter->UsePaletteAnimation()) { case Blitter::PALETTE_ANIMATION_VIDEO_BACKEND: QZ_UpdatePalette(_pal_first_dirty, _pal_count_dirty); |