From 004c93f9da1be1f28528979d7ff940da3d089ab9 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 2 Apr 2011 11:55:54 +0000 Subject: (svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine(). --- src/blitter/base.hpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/blitter/base.hpp') diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp index 03898582c..3af376a15 100644 --- a/src/blitter/base.hpp +++ b/src/blitter/base.hpp @@ -101,18 +101,7 @@ public: */ virtual void DrawRect(void *video, int width, int height, uint8 colour) = 0; - /** - * Draw a line with a given colour. - * @param video The destination pointer (video-buffer). - * @param x The x coordinate from where the line starts. - * @param y The y coordinate from where the line starts. - * @param x2 The x coordinate to where the line goes. - * @param y2 The y coordinate to where the lines goes. - * @param screen_width The width of the screen you are drawing in (to avoid buffer-overflows). - * @param screen_height The height of the screen you are drawing in (to avoid buffer-overflows). - * @param colour A 8bpp mapping colour. - */ - virtual void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour) = 0; + void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour); /** * Copy from a buffer to the screen. -- cgit v1.2.3-54-g00ecf