diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-12-28 14:27:10 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-12-28 14:27:10 (GMT) |
| commit | 8c1ab8525781e4f8dd20c0408f4a4b6b370ee7d3 (patch) | |
| tree | 082b057aba2a73c7ecdede6a762250c74fcc1d1d /micropython | |
| parent | 6d74d4f585d3b9d8706da0c9584a8a87e5133c97 (diff) | |
draw565: Fix bug in the straight line optimization
Currently the line drawing code does not draw the final pixel of
straight lines. Thus a line from (0, 0) to (10, 10) finishes on a
different pixel to (10, 0) to (10, 10).
Fix this by removing the spurious subtract one from the end point
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'micropython')
0 files changed, 0 insertions, 0 deletions
