Increase limit for webgl

This commit is contained in:
Maximilian Ammann 2022-01-03 11:04:53 +01:00
parent 3d9934e189
commit ae6ec2959c

View File

@ -119,6 +119,7 @@ impl State {
let limits = if cfg!(feature = "web-webgl") {
Limits {
max_texture_dimension_2d: 4096,
..wgpu::Limits::downlevel_webgl2_defaults()
}
} else if cfg!(target_os = "android") {