diff options
author | 2020-06-02 23:10:46 +0200 | |
---|---|---|
committer | 2020-06-02 23:10:46 +0200 | |
commit | 4c494c724435d05d1b46d19bf890a8aaef962b15 (patch) | |
tree | 0f22902d6db0a83fb35f6a7905f880ce0ab3f426 /examples | |
parent | e7f0d3809b0648d1b05e85df61d943e0f2d4658d (diff) | |
parent | d5b9dee2fdc44b843f1048140035404d4e036669 (diff) | |
download | iced-4c494c724435d05d1b46d19bf890a8aaef962b15.tar.gz iced-4c494c724435d05d1b46d19bf890a8aaef962b15.tar.bz2 iced-4c494c724435d05d1b46d19bf890a8aaef962b15.zip |
Merge pull request #383 from cedric-h/patch-1
Prevent gratuitous resizing in integration example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/integration/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index c1fe8f69..6b4aa968 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -144,6 +144,8 @@ pub fn main() { present_mode: wgpu::PresentMode::Mailbox, }, ); + + resized = false; } let frame = swap_chain.get_next_texture().expect("Next frame"); |