comment on issue

This commit is contained in:
Quaternions 2023-10-19 20:38:13 -07:00
parent 00eb1ce19c
commit ff8c61ee32

View File

@ -185,6 +185,7 @@ fn start<E: Example>(
} => {
// 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!(