summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_optimized.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blitter/32bpp_optimized.hpp')
-rw-r--r--src/blitter/32bpp_optimized.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blitter/32bpp_optimized.hpp b/src/blitter/32bpp_optimized.hpp
index 9bee600b1..f0de770b6 100644
--- a/src/blitter/32bpp_optimized.hpp
+++ b/src/blitter/32bpp_optimized.hpp
@@ -26,9 +26,10 @@ public:
const char *GetName() override { return "32bpp-optimized"; }
- template <BlitterMode mode> void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);
+ template <BlitterMode mode, bool Tpal_to_rgb = false> void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);
protected:
+ template <bool Tpal_to_rgb> void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
template <bool Tpal_to_rgb> Sprite *EncodeInternal(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator);
};