summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_simple.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-06 19:38:36 +0000
committerfrosch <frosch@openttd.org>2013-10-06 19:38:36 +0000
commit640d39c001982e6bba7034b75ae0adef3ea4b9bb (patch)
treef91e9c65cfb29aaaaba7a24bc82b8a1ced2d378d /src/blitter/32bpp_simple.cpp
parent2d972cb418f17eb5515b3c805fe4aded94f6ed06 (diff)
downloadopenttd-640d39c001982e6bba7034b75ae0adef3ea4b9bb.tar.xz
(svn r25820) -Codechange: More const-ness.
Diffstat (limited to 'src/blitter/32bpp_simple.cpp')
-rw-r--r--src/blitter/32bpp_simple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_simple.cpp b/src/blitter/32bpp_simple.cpp
index 73487e54c..539d26ff0 100644
--- a/src/blitter/32bpp_simple.cpp
+++ b/src/blitter/32bpp_simple.cpp
@@ -92,7 +92,7 @@ void Blitter_32bppSimple::DrawColourMappingRect(void *dst, int width, int height
DEBUG(misc, 0, "32bpp blitter doesn't know how to draw this colour table ('%d')", pal);
}
-Sprite *Blitter_32bppSimple::Encode(SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
+Sprite *Blitter_32bppSimple::Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
{
Blitter_32bppSimple::Pixel *dst;
Sprite *dest_sprite = (Sprite *)allocator(sizeof(*dest_sprite) + sprite->height * sprite->width * sizeof(*dst));