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 | a7dd710f06fdb751f67a2db9533cbf38fc9b1a84 (patch) | |
tree | 8678e3f66f8c41ce67c017d6dff9a41ad03af837 /src/video/win32_v.cpp | |
parent | 1c4760ee06fb632d27648175f7bab433b32c1892 (diff) | |
download | openttd-a7dd710f06fdb751f67a2db9533cbf38fc9b1a84.tar.xz |
(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx)
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r-- | src/video/win32_v.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 79517843f..cf7afea03 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -232,6 +232,8 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP old_palette = SelectPalette(dc, _wnd.gdi_palette, FALSE); 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); |