Remove scale_factor from iced_wgpu::Viewport

This commit is contained in:
Héctor Ramón Jiménez 2020-02-09 03:36:59 +01:00
parent 8edb04fddd
commit 8f0b59a4b2
6 changed files with 12 additions and 15 deletions

View file

@ -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(),
);