mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Add comment
This commit is contained in:
parent
112dcb2a2e
commit
8d9f6341fa
@ -92,6 +92,7 @@ impl<Q: Queue<B>, B, V: bytemuck::Pod, I: bytemuck::Pod> BufferPool<Q, B, V, I>
|
||||
new_indices
|
||||
);
|
||||
|
||||
// write_buffer() is the preferred method for WASM: https://toji.github.io/webgpu-best-practices/buffer-uploads.html#when-in-doubt-writebuffer
|
||||
queue.write_buffer(
|
||||
&self.vertices.inner,
|
||||
maybe_entry.vertices.start,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user