diff options
author | frosch <frosch@openttd.org> | 2013-10-06 19:38:36 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-06 19:38:36 +0000 |
commit | 640d39c001982e6bba7034b75ae0adef3ea4b9bb (patch) | |
tree | f91e9c65cfb29aaaaba7a24bc82b8a1ced2d378d /src/blitter/32bpp_simple.hpp | |
parent | 2d972cb418f17eb5515b3c805fe4aded94f6ed06 (diff) | |
download | openttd-640d39c001982e6bba7034b75ae0adef3ea4b9bb.tar.xz |
(svn r25820) -Codechange: More const-ness.
Diffstat (limited to 'src/blitter/32bpp_simple.hpp')
-rw-r--r-- | src/blitter/32bpp_simple.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_simple.hpp b/src/blitter/32bpp_simple.hpp index f09920d0e..59ea50c28 100644 --- a/src/blitter/32bpp_simple.hpp +++ b/src/blitter/32bpp_simple.hpp @@ -28,7 +28,7 @@ class Blitter_32bppSimple : public Blitter_32bppBase { public: /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); /* virtual */ void DrawColourMappingRect(void *dst, int width, int height, PaletteID pal); - /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, AllocatorProc *allocator); + /* virtual */ Sprite *Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator); /* virtual */ const char *GetName() { return "32bpp-simple"; } }; |