Remove scale_factor from iced_wgpu::Viewport
This commit is contained in:
parent
8edb04fddd
commit
8f0b59a4b2
6 changed files with 12 additions and 15 deletions
|
|
@ -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(),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue