Merge pull request #10 from rofrol/patch-3

Removed physical_size
pull/15/head
sotrh 4 years ago committed by GitHub
commit bc85bc24b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,7 +118,6 @@ If we want to support resizing in our application, we're going to need to recrea
```rust
// impl State
fn resize(&mut self, new_size: winit::dpi::PhysicalSize<u32>) {
let physical_size = new_size.to_physical(self.hidpi_factor);
self.size = new_size;
self.sc_desc.width = new_size.width;
self.sc_desc.height = new_size.height;

Loading…
Cancel
Save