mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix bias in deface lines
This commit is contained in:
parent
58f0c8626f
commit
7ea45b8e5b
1 changed files with 2 additions and 0 deletions
|
|
@ -207,6 +207,8 @@ pub fn deface(gfx: &graphics_server::Gfx, trng: &trng::Trng, canvases: &mut FnvI
|
|||
|
||||
x = x % width;
|
||||
y = y % height;
|
||||
delta_x = delta_x % width;
|
||||
delta_y = delta_y % width;
|
||||
|
||||
gfx.draw_line_clipped(
|
||||
Line::new_with_style(
|
||||
|
|
|
|||
Loading…
Reference in a new issue