diff --git a/examples/raqote-winit/src/main.rs b/examples/raqote-winit/src/main.rs index 4d24b19..20858af 100644 --- a/examples/raqote-winit/src/main.rs +++ b/examples/raqote-winit/src/main.rs @@ -35,7 +35,7 @@ fn main() -> Result<(), Error> { let surface_texture = SurfaceTexture::new(window_size.width, window_size.height, &window); let pixels = Pixels::new(WIDTH, HEIGHT, surface_texture)?; - let shapes = Shapes::new(window_size.width, window_size.height); + let shapes = Shapes::new(WIDTH, HEIGHT); (pixels, shapes) };