Files
wgpu/wgpu-rs
bors[bot]andRukai f722a8f631 Merge #140
140: Creating buffers with size 0 actually creates them with size 1 r=kvark a=rukai

closes https://github.com/gfx-rs/wgpu/issues/135

One concern I have is if the buffer is uninitialized before the call to `self.data.copy_from_slice(slice);`
If that is the case, my new `fill_from_slice` implementation will leave memory uninitialized when the user tries to create an empty buffer.

Co-authored-by: Rukai <rubickent@gmail.com>
2019-05-04 02:31:29 +00:00
..
2019-05-04 02:31:29 +00:00