projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a7b77
)
Revert "hw/display/artist: Avoid drawing line when nothing to display"
author
Helge Deller
<deller@gmx.de>
Sat, 8 Aug 2020 20:22:37 +0000
(22:22 +0200)
committer
Helge Deller
<deller@gmx.de>
Wed, 26 Aug 2020 21:04:00 +0000
(23:04 +0200)
This reverts commit
b0f6455feac97e41045ee394e11c24d92c370f6e
.
It's wrong. A line could even be a dot.
Signed-off-by: Helge Deller <deller@gmx.de>
hw/display/artist.c
patch
|
blob
|
history
diff --git
a/hw/display/artist.c
b/hw/display/artist.c
index 47de17b9e9ce238b4d49739ae13cd2d8b93d8082..f37aa9eb4965a3c9e0d977898efa77fb1dfe6882 100644
(file)
--- a/
hw/display/artist.c
+++ b/
hw/display/artist.c
@@
-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) {