diff options
Diffstat (limited to 'stockton-render/src/draw/buffer.rs')
-rw-r--r-- | stockton-render/src/draw/buffer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/buffer.rs b/stockton-render/src/draw/buffer.rs index 7bbd7e3..f59431e 100644 --- a/stockton-render/src/draw/buffer.rs +++ b/stockton-render/src/draw/buffer.rs @@ -86,7 +86,7 @@ impl<'a, T: Sized> StagedBuffer<'a, T> { // Map it somewhere and get a slice to that memory let staged_mapped_memory = unsafe { - let ptr = device.map_memory(&staged_memory, Segment::ALL).unwrap(); + let ptr = device.map_memory(&staged_memory, Segment::ALL).unwrap(); // TODO std::slice::from_raw_parts_mut(ptr as *mut T, size.try_into().unwrap()) }; |