summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_anim.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-12-18 17:17:18 +0000
committersmatz <smatz@openttd.org>2011-12-18 17:17:18 +0000
commit33d283fdb1710e40cff4daaabde6aa78325d4623 (patch)
tree474b5ad5f9b38019a1985a4b1a29ada6a7560260 /src/blitter/32bpp_anim.hpp
parent88f1acd26bb2d7872526e4abc89549f622bb75ea (diff)
downloadopenttd-33d283fdb1710e40cff4daaabde6aa78325d4623.tar.xz
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
Diffstat (limited to 'src/blitter/32bpp_anim.hpp')
-rw-r--r--src/blitter/32bpp_anim.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp
index 862a21c5d..b1a5da5b4 100644
--- a/src/blitter/32bpp_anim.hpp
+++ b/src/blitter/32bpp_anim.hpp
@@ -15,7 +15,7 @@
#include "32bpp_optimized.hpp"
/** The optimised 32 bpp blitter with palette animation. */
-class Blitter_32bppAnim : public Blitter_32bppOptimized {
+class Blitter_32bppAnim FINAL : public Blitter_32bppOptimized {
private:
uint8 *anim_buf; ///< In this buffer we keep track of the 8bpp indexes so we can do palette animation
int anim_buf_width; ///< The width of the animation buffer.