Skip to content

Commit

Permalink
Revert "hw/display/artist: Avoid drawing line when nothing to display"
Browse files Browse the repository at this point in the history
This reverts commit b0f6455.
It's wrong. A line could even be a dot.

Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
hdeller committed Aug 26, 2020
1 parent 84a7b77 commit 8bd0d5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hw/display/artist.c
Expand Up @@ -591,9 +591,6 @@ static void draw_line(ARTISTState *s, int x1, int y1, int x2, int y2,
} else {
dy = y1 - y2;
}
if (!dx || !dy) {
return;
}

c1 = false;
if (dy > dx) {
Expand Down

0 comments on commit 8bd0d5b

Please sign in to comment.