mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-10 01:10:28 +00:00
Fix typo: w -> we
This commit is contained in:
parent
125353a710
commit
0b9840e1ec
@ -376,7 +376,7 @@ fn main() {
|
||||
state.resize(*physical_size);
|
||||
}
|
||||
WindowEvent::ScaleFactorChanged { new_inner_size, .. } => {
|
||||
// new_inner_size is &mut so w have to dereference it twice
|
||||
// new_inner_size is &mut so we have to dereference it twice
|
||||
state.resize(**new_inner_size);
|
||||
}
|
||||
_ => {}
|
||||
|
Loading…
Reference in New Issue
Block a user