wgpu: Don't use max_uniform_buffer_binding_size as a limit for BufferBuilder when making meshes

This commit is contained in:
Nathan Adams 2024-01-24 20:03:19 +01:00
parent ab404bae2a
commit 2d42abcb70
1 changed files with 1 additions and 3 deletions

View File

@ -29,9 +29,7 @@ impl BufferBuilder {
} else {
0
},
limit: limits
.max_buffer_size
.min(limits.max_uniform_buffer_binding_size as u64),
limit: limits.max_buffer_size,
}
}