diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-05-17 08:47:15 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-05-17 08:47:15 (GMT) |
| commit | ac1a799bfa8d73653c3b1994a17611deb949c7fd (patch) | |
| tree | 2f26f4f26ae4274cf0954b0352b4bbca6c8c84b6 /res | |
| parent | 4906d46ff42ec9ecec49de375677dd6654455845 (diff) | |
draw565: Fix line optimization code
sx is measured in pixels (2-bytes) and len(display.linebuffer) gives
a value in bytes so the divisor isn't right.
Whilst we are here let's make sure we use integer division too.
Fixes: #18
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions
