From c31ff284c321be86dcd3e4640f11b4e82a6c7cb4 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 18 Jun 2007 18:45:12 +0000 Subject: (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. --- src/blitter/8bpp_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blitter/8bpp_base.hpp') diff --git a/src/blitter/8bpp_base.hpp b/src/blitter/8bpp_base.hpp index 536a6c984..63b28d200 100644 --- a/src/blitter/8bpp_base.hpp +++ b/src/blitter/8bpp_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); -- cgit v1.2.3-54-g00ecf