Rename variable to avoid confusion
This commit is contained in:
parent
94d6a0f987
commit
dbaf4f7746
|
@ -489,8 +489,8 @@ impl InputBackend for WinitInputBackend {
|
||||||
match event {
|
match event {
|
||||||
WindowEvent::Resized(x, y) => {
|
WindowEvent::Resized(x, y) => {
|
||||||
window.set_inner_size(x, y);
|
window.set_inner_size(x, y);
|
||||||
if let Some(wl_surface) = surface.as_ref() {
|
if let Some(wl_egl_surface) = surface.as_ref() {
|
||||||
wl_surface.resize(x as i32, y as i32, 0, 0);
|
wl_egl_surface.resize(x as i32, y as i32, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WindowEvent::KeyboardInput(state, key_code, _, _) => {
|
WindowEvent::KeyboardInput(state, key_code, _, _) => {
|
||||||
|
|
Loading…
Reference in New Issue