Merge pull request #383 from cedric-h/patch-1

Prevent gratuitous resizing in integration example
This commit is contained in:
Héctor Ramón 2020-06-02 23:10:46 +02:00 committed by GitHub
commit 4c494c7244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,6 +144,8 @@ pub fn main() {
present_mode: wgpu::PresentMode::Mailbox,
},
);
resized = false;
}
let frame = swap_chain.get_next_texture().expect("Next frame");