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/null.hpp | |
parent | 2d972cb418f17eb5515b3c805fe4aded94f6ed06 (diff) | |
download | openttd-640d39c001982e6bba7034b75ae0adef3ea4b9bb.tar.xz |
(svn r25820) -Codechange: More const-ness.
Diffstat (limited to 'src/blitter/null.hpp')
-rw-r--r-- | src/blitter/null.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/null.hpp b/src/blitter/null.hpp index 4ec5ff476..821e01be6 100644 --- a/src/blitter/null.hpp +++ b/src/blitter/null.hpp @@ -20,7 +20,7 @@ public: /* virtual */ uint8 GetScreenDepth() { return 0; } /* 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 */ void *MoveTo(void *video, int x, int y) { return NULL; }; /* virtual */ void SetPixel(void *video, int x, int y, uint8 colour) {}; /* virtual */ void DrawRect(void *video, int width, int height, uint8 colour) {}; |