diff --git a/src/framework.rs b/src/framework.rs index 2a0d524..81071ae 100644 --- a/src/framework.rs +++ b/src/framework.rs @@ -185,6 +185,7 @@ fn start( } => { // Once winit is fixed, the detection conditions here can be removed. // https://github.com/rust-windowing/winit/issues/2876 + // this has been fixed if I update winit (remove the if statement and only use the else case) let max_dimension = adapter.limits().max_texture_dimension_2d; if size.width > max_dimension || size.height > max_dimension { println!(