void tracing for spot lights
This commit is contained in:
parent
dd568a75e3
commit
4c4b8288d5
5 changed files with 55 additions and 81 deletions
src
|
@ -457,7 +457,7 @@ impl App {
|
|||
vk::MemoryMapFlags::empty(),
|
||||
)?;
|
||||
|
||||
memcpy(self.scene_handler.rt_memory.as_ptr(), memory.cast(), 2103);
|
||||
memcpy(self.scene_handler.rt_memory.as_ptr(), memory.cast(), self.scene_handler.rt_memory.len());
|
||||
|
||||
self.device.unmap_memory(self.data.storage_buffers_memory[image_index]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue