diff options
author | rubidium <rubidium@openttd.org> | 2013-11-09 06:48:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-09 06:48:15 +0000 |
commit | 14b8f6e594c8a80c220b58fa8ce7d33d8c509b3f (patch) | |
tree | 0cb6e2de77b4e95dda0ea003f6694e95115f0a65 | |
parent | c04d635ddb35db736864273df655803a202ac80b (diff) | |
download | openttd-14b8f6e594c8a80c220b58fa8ce7d33d8c509b3f.tar.xz |
(svn r25958) -Fix: overriding method of DrawLine was not updated when parameters were added making it non-functional
-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 821e01be6..33ff88c23 100644 --- a/src/blitter/null.hpp +++ b/src/blitter/null.hpp @@ -24,7 +24,7 @@ public: /* 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) {}; + /* virtual */ void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour, int width, int dash) {}; /* virtual */ void CopyFromBuffer(void *video, const void *src, int width, int height) {}; /* virtual */ void CopyToBuffer(const void *video, void *dst, int width, int height) {}; /* virtual */ void CopyImageToBuffer(const void *video, void *dst, int width, int height, int dst_pitch) {}; |