mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 23:11:01 +01:00
Use extend_from_slice instead of copy_from_slice
This commit is contained in:
1 parent
efcf0e94cb
commit
074b1d7dee
1 file changed
+1
-1
@@ -79,7 +79,7 @@ impl BindGroupEntry {
|
||||
});
|
||||
//TODO: validate the count of dynamic offsets to match the layout
|
||||
self.dynamic_offsets.clear();
|
||||
self.dynamic_offsets.copy_from_slice(offsets);
|
||||
self.dynamic_offsets.extend_from_slice(offsets);
|
||||
|
||||
Provision::Changed {
|
||||
was_compatible,
|
||||
|
||||
Reference in new issue
Block a user