Merge pull request #383 from cedric-h/patch-1
Prevent gratuitous resizing in integration example
This commit is contained in:
commit
4c494c7244
1 changed files with 2 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ pub fn main() {
|
||||||
present_mode: wgpu::PresentMode::Mailbox,
|
present_mode: wgpu::PresentMode::Mailbox,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
resized = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
let frame = swap_chain.get_next_texture().expect("Next frame");
|
let frame = swap_chain.get_next_texture().expect("Next frame");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue