summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_anim_sse4.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-13 18:20:23 +0000
committerrubidium <rubidium@openttd.org>2014-01-13 18:20:23 +0000
commitef9108bd5848fa8ddc7dfe7a322ba947528771ad (patch)
tree59e63b4136f2b01cc49419bf1d4a8d4cbfc73db6 /src/blitter/32bpp_anim_sse4.hpp
parenteb2c2ef877e3f0de0960c9ebc1480af80c45dfaf (diff)
downloadopenttd-ef9108bd5848fa8ddc7dfe7a322ba947528771ad.tar.xz
(svn r26260) -Codechange: add template parameters for (non) translucent and (non) animated sprites, so the least expensive variant can be chosen (MJP)
Diffstat (limited to 'src/blitter/32bpp_anim_sse4.hpp')
-rw-r--r--src/blitter/32bpp_anim_sse4.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_anim_sse4.hpp b/src/blitter/32bpp_anim_sse4.hpp
index 096ee62e0..e2d4cfc23 100644
--- a/src/blitter/32bpp_anim_sse4.hpp
+++ b/src/blitter/32bpp_anim_sse4.hpp
@@ -33,7 +33,7 @@ class Blitter_32bppSSE4_Anim FINAL : public Blitter_32bppAnim, public Blitter_32
private:
public:
- template <BlitterMode mode, Blitter_32bppSSE_Base::ReadMode read_mode, Blitter_32bppSSE_Base::BlockType bt_last>
+ template <BlitterMode mode, Blitter_32bppSSE_Base::ReadMode read_mode, Blitter_32bppSSE_Base::BlockType bt_last, bool translucent, bool animated>
/* virtual */ void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);
/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
/* virtual */ Sprite *Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator) {