Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wgpu-core] fix length of copy in
queue_write_texture
The size of the given `data` might be less than the size of the staging buffer. This issue became apparent with the refactor in 6f16ea4 (gfx-rs#5946) since there is now an assert in `StagingBuffer.write()`. Ruffle ran into this in gfx-rs#3193 (comment).
- Loading branch information