Skip to content

Commit

Permalink
CpuLine: fix drawing horizontal lines (backported from 41c2a15)
Browse files Browse the repository at this point in the history
  • Loading branch information
cahirwpz committed Dec 16, 2023
1 parent 3bb01b2 commit 8a33584
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/libgfx/CpuLine.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ void CpuLine(short xs asm("d0"), short ys asm("d1"),
color = 0x8000 >> (xs & 15);

dy = ye - ys;

if (dy == 0)
return;

dx = abs(xe - xs);

if (dx < dy) {
Expand Down

0 comments on commit 8a33584

Please sign in to comment.