diff options
author | rubidium <rubidium@openttd.org> | 2011-11-12 08:26:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-12 08:26:30 +0000 |
commit | 4f87d2e88c4b42f4ae4a5c7956f2287740ef174b (patch) | |
tree | d390107524182c8276e616c20612708f9c893f7d /src/blitter/null.hpp | |
parent | bd64bf6372399bad1a92565ae7d3c243658d241f (diff) | |
download | openttd-4f87d2e88c4b42f4ae4a5c7956f2287740ef174b.tar.xz |
(svn r23194) -Codechange: don't cast away const needlessly
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 e9e157d72..af49d485e 100644 --- a/src/blitter/null.hpp +++ b/src/blitter/null.hpp @@ -21,7 +21,7 @@ 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 */ void *MoveTo(const void *video, int x, int y) { return NULL; }; + /* 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) {}; /* virtual */ void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour, int width) {}; |