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/32bpp_base.hpp | |
parent | bd64bf6372399bad1a92565ae7d3c243658d241f (diff) | |
download | openttd-4f87d2e88c4b42f4ae4a5c7956f2287740ef174b.tar.xz |
(svn r23194) -Codechange: don't cast away const needlessly
Diffstat (limited to 'src/blitter/32bpp_base.hpp')
-rw-r--r-- | src/blitter/32bpp_base.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/32bpp_base.hpp b/src/blitter/32bpp_base.hpp index 1c9d331b6..ed3c24549 100644 --- a/src/blitter/32bpp_base.hpp +++ b/src/blitter/32bpp_base.hpp @@ -20,7 +20,7 @@ class Blitter_32bppBase : public Blitter { public: /* virtual */ uint8 GetScreenDepth() { return 32; } - /* virtual */ void *MoveTo(const void *video, int x, int y); + /* virtual */ void *MoveTo(void *video, int x, int y); /* virtual */ void SetPixel(void *video, int x, int y, uint8 colour); /* virtual */ void DrawRect(void *video, int width, int height, uint8 colour); /* virtual */ void CopyFromBuffer(void *video, const void *src, int width, int height); |