diff --git a/examples/common/src/framework.rs b/examples/common/src/framework.rs index aa1a741834..482d970563 100644 --- a/examples/common/src/framework.rs +++ b/examples/common/src/framework.rs @@ -307,6 +307,8 @@ fn start( }, .. } => { + // Once winit is fixed, the detection conditions here can be removed. + // https://github.com/rust-windowing/winit/issues/2876 let max_dimension = adapter.limits().max_texture_dimension_2d; if size.width > max_dimension || size.height > max_dimension { log::warn!(