From 336d3851913f74004ee18e27e1228854c1e3290b Mon Sep 17 00:00:00 2001 From: Jinlei Li Date: Sat, 8 Jul 2023 07:09:14 +0800 Subject: [PATCH] Add a link to the winit-related issue --- examples/common/src/framework.rs | 2 ++ 1 file changed, 2 insertions(+) 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!(