From f6c2f402e245c620f8f03dcf3aa6265fca6e8dcf Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:20 +0100 Subject: feat(render): 3D projection --- stockton-render/src/draw/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stockton-render/src/draw/buffer.rs') 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()) }; -- cgit v1.2.3