wgpu: Don't use max_uniform_buffer_binding_size as a limit for BufferBuilder when making meshes
This commit is contained in:
parent
ab404bae2a
commit
2d42abcb70
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue