mirror of https://github.com/xemu-project/xemu.git
Revert "hw/display/artist: Avoid drawing line when nothing to display"
This reverts commit b0f6455fea
.
It's wrong. A line could even be a dot.
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
84a7b7741a
commit
8bd0d5b5ef
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue