diff --git a/services/gam/src/canvas.rs b/services/gam/src/canvas.rs index 5fe7ea47e..a02fd1975 100644 --- a/services/gam/src/canvas.rs +++ b/services/gam/src/canvas.rs @@ -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(