Update winit to 0.20
This commit is contained in:
parent
4e9e051caa
commit
fb4a7968ca
7 changed files with 92 additions and 71 deletions
|
|
@ -39,9 +39,9 @@ pub trait Target {
|
|||
/// [`Target`]: trait.Target.html
|
||||
fn new<W: HasRawWindowHandle>(
|
||||
window: &W,
|
||||
width: u16,
|
||||
height: u16,
|
||||
dpi: f32,
|
||||
width: u32,
|
||||
height: u32,
|
||||
scale_factor: f32,
|
||||
renderer: &Self::Renderer,
|
||||
) -> Self;
|
||||
|
||||
|
|
@ -50,9 +50,9 @@ pub trait Target {
|
|||
/// [`Target`]: trait.Target.html
|
||||
fn resize(
|
||||
&mut self,
|
||||
width: u16,
|
||||
height: u16,
|
||||
dpi: f32,
|
||||
width: u32,
|
||||
height: u32,
|
||||
scale_factor: f32,
|
||||
renderer: &Self::Renderer,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue