From b4b0e35841e19dc3f472762c09d7e5598c3cbfe5 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 25 Mar 2009 23:26:24 +0000 Subject: Remove a workaround in the line drawing function - it shouldn't be necessary anymore svn-id: r39697 --- engines/sci/gfx/gfx_widgets.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'engines') diff --git a/engines/sci/gfx/gfx_widgets.cpp b/engines/sci/gfx/gfx_widgets.cpp index 8f25abd3dd..6d55a46b28 100644 --- a/engines/sci/gfx/gfx_widgets.cpp +++ b/engines/sci/gfx/gfx_widgets.cpp @@ -576,12 +576,6 @@ void _gfxw_set_ops_LINE(gfxw_widget_t *prim) { gfxw_primitive_t *gfxw_new_line(Common::Point start, Common::Point end, gfx_color_t color, gfx_line_mode_t line_mode, gfx_line_style_t line_style) { gfxw_primitive_t *prim; - // SCI can draw lines inversely. We convert inverse lines to normal ones here, because the resulting rectangles are invalid - if (end.x < start.x || end.y < start.y) { - SWAP(start.x, end.x); - SWAP(start.y, end.y); - } - // Encode into internal representation rect_t line = gfx_rect(start.x, start.y, end.x - start.x, end.y - start.y); -- cgit v1.2.3