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 {
|
} else {
|
||||||
0
|
0
|
||||||
},
|
},
|
||||||
limit: limits
|
limit: limits.max_buffer_size,
|
||||||
.max_buffer_size
|
|
||||||
.min(limits.max_uniform_buffer_binding_size as u64),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue