From 8f0b59a4b28bee028a879b0705eeeaa0b2e82df6 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 9 Feb 2020 03:36:59 +0100 Subject: Remove `scale_factor` from `iced_wgpu::Viewport` --- winit/src/application.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'winit/src/application.rs') diff --git a/winit/src/application.rs b/winit/src/application.rs index 0d90525a..22d1afab 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -175,7 +175,6 @@ pub trait Application: Sized { &surface, physical_size.width, physical_size.height, - size.scale_factor(), ) }; @@ -313,7 +312,6 @@ pub trait Application: Sized { &surface, physical_size.width, physical_size.height, - size.scale_factor(), ); resized = false; @@ -323,6 +321,7 @@ pub trait Application: Sized { &mut renderer, &mut swap_chain, &primitive, + size.scale_factor(), &debug.overlay(), ); -- cgit