comment on issue
This commit is contained in:
parent
00eb1ce19c
commit
ff8c61ee32
@ -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!(
|
||||
|
Loading…
Reference in New Issue
Block a user