diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-18 18:45:12 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-18 18:45:12 +0000 |
commit | c31ff284c321be86dcd3e4640f11b4e82a6c7cb4 (patch) | |
tree | d94c7db55a9657361ab8c1de68448e9e70965bab /src/blitter/32bpp_base.hpp | |
parent | b09431478d416ceb58f9676d67c1cc3b4af397bc (diff) | |
download | openttd-c31ff284c321be86dcd3e4640f11b4e82a6c7cb4.tar.xz |
(svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go.
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 6ba6ac534..aaa68ef38 100644 --- a/src/blitter/32bpp_base.hpp +++ b/src/blitter/32bpp_base.hpp @@ -16,7 +16,7 @@ public: /* virtual */ void *MoveTo(const void *video, int x, int y); /* virtual */ void SetPixel(void *video, int x, int y, uint8 color); /* virtual */ void SetPixelIfEmpty(void *video, int x, int y, uint8 color); - /* virtual */ void SetHorizontalLine(void *video, int width, uint8 color); + /* virtual */ void DrawRect(void *video, int width, int height, uint8 color); /* virtual */ void CopyFromBuffer(void *video, const void *src, int width, int height, int src_pitch); /* virtual */ void CopyToBuffer(const void *video, void *dst, int width, int height, int dst_pitch); /* virtual */ void MoveBuffer(void *video_dst, const void *video_src, int width, int height); |