Fix not-staying-in-fullscreen bug

This commit is contained in:
Stephen Seo 2022-12-06 22:26:02 +09:00
parent ef07d7936a
commit 1a623f451d

View file

@ -123,9 +123,6 @@ fn main() -> Result<(), String> {
} }
} }
event::winit_event::WindowEvent::Resized(phys_size) => { event::winit_event::WindowEvent::Resized(phys_size) => {
ctx.gfx
.set_drawable_size(phys_size.width as f32, phys_size.height as f32)
.ok();
display display
.resize_event(ctx, phys_size.width as f32, phys_size.height as f32) .resize_event(ctx, phys_size.width as f32, phys_size.height as f32)
.ok(); .ok();