summaryrefslogtreecommitdiff
path: root/src/blitter/base.hpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-18 18:45:12 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-18 18:45:12 +0000
commitc31ff284c321be86dcd3e4640f11b4e82a6c7cb4 (patch)
treed94c7db55a9657361ab8c1de68448e9e70965bab /src/blitter/base.hpp
parentb09431478d416ceb58f9676d67c1cc3b4af397bc (diff)
downloadopenttd-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/base.hpp')
-rw-r--r--src/blitter/base.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp
index abc886a22..79a0895f9 100644
--- a/src/blitter/base.hpp
+++ b/src/blitter/base.hpp
@@ -94,7 +94,7 @@ public:
* @param width The lenght of the line.
* @param color A 8bpp mapping color.
*/
- virtual void SetHorizontalLine(void *video, int width, uint8 color) = 0;
+ virtual void DrawRect(void *video, int width, int height, uint8 color) = 0;
/**
* Copy from a buffer to the screen.