Update winit to 0.20

This commit is contained in:
Héctor Ramón Jiménez 2020-01-09 03:56:13 +01:00 committed by Imbris
parent 4e9e051caa
commit fb4a7968ca
7 changed files with 92 additions and 71 deletions

View file

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