From cb315ec0a18c0518e057466a1d336868ee690a26 Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Sun, 13 Dec 2020 19:37:35 -0800 Subject: [PATCH] Fix raqote example on high-DPI displays (#129) --- examples/raqote-winit/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) };