From: Stephen Seo Date: Tue, 6 Dec 2022 13:26:02 +0000 (+0900) Subject: Fix not-staying-in-fullscreen bug X-Git-Tag: 0.4.0~3 X-Git-Url: https://git.seodisparate.com/tbm-server-edit-damage-sources.png?a=commitdiff_plain;h=1a623f451de9bf3baf2f09eb562c111005d64527;p=mpd_info_screen Fix not-staying-in-fullscreen bug --- diff --git a/src/main.rs b/src/main.rs index 9d32fc6..07c60dc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,9 +123,6 @@ fn main() -> Result<(), String> { } } event::winit_event::WindowEvent::Resized(phys_size) => { - ctx.gfx - .set_drawable_size(phys_size.width as f32, phys_size.height as f32) - .ok(); display .resize_event(ctx, phys_size.width as f32, phys_size.height as f32) .ok();