diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:20 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:20 +0100 |
commit | f6c2f402e245c620f8f03dcf3aa6265fca6e8dcf (patch) | |
tree | 96454af34e3a0cb15c17ccefea3d99ceb9a2ce3a /stockton-render/src/draw/buffer.rs | |
parent | 9806e1d2552b944e809d4f545e5d8bdb6827c144 (diff) |
feat(render): 3D projection
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()) }; |