summaryrefslogtreecommitdiff
path: root/src/blitter
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-05 12:23:54 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-05 12:23:54 +0000
commit5e85e8c5e03105e43cf9f2216e993c0596d7dfec (patch)
tree52e0cc5b1e4eb6cf9aed8556873ee6833662e11f /src/blitter
parent7884a07b43fd293a2ca5b39b64df98b700959874 (diff)
downloadopenttd-5e85e8c5e03105e43cf9f2216e993c0596d7dfec.tar.xz
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
Diffstat (limited to 'src/blitter')
-rw-r--r--src/blitter/32bpp_anim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_anim.cpp b/src/blitter/32bpp_anim.cpp
index 5d3f32800..9dbc19fba 100644
--- a/src/blitter/32bpp_anim.cpp
+++ b/src/blitter/32bpp_anim.cpp
@@ -2,8 +2,8 @@
#include "../zoom.hpp"
#include "../gfx.h"
#include "../debug.h"
-#include "../hal.h"
#include "../table/sprites.h"
+#include "../video/video_driver.hpp"
#include "32bpp_anim.hpp"
static FBlitter_32bppAnim iFBlitter_32bppAnim;
@@ -269,7 +269,7 @@ void Blitter_32bppAnim::PaletteAnimate(uint start, uint count)
}
/* Make sure the backend redraws the whole screen */
- _video_driver->make_dirty(0, 0, _screen.width, _screen.height);
+ _video_driver->MakeDirty(0, 0, _screen.width, _screen.height);
}
Blitter::PaletteAnimation Blitter_32bppAnim::UsePaletteAnimation()