Cargo lock update, limits fix (#2033)

This commit is contained in:
Dzmitry Malyshau authored and GitHub committed 2021-10-07 16:57:33 -04:00
1 parent 312828f12f
commit 85fbbbbbf3
3 files changed
+7 -2

No files matched your search

+2
View File
@@ -253,6 +253,8 @@ impl super::Queue {
gl.bind_buffer(copy_src_target, Some(src));
gl.bind_buffer(copy_dst_target, Some(dst));
//TODO: remove this slow path completely
// https://github.com/gfx-rs/wgpu/issues/2031
if is_index_buffer_only_element_dst {
let mut buffer_data = vec![0; copy.size.get() as usize];
gl.get_buffer_sub_data(