summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b5af438..d461a63 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -167,7 +167,7 @@ impl Surreality {
               &window_dressing.swapchain.extent)?;
 
       render_uniforms(device,
-                      &window_dressing.uniform_buffer_memory[image_index],
+                      &render.per_frame[image_index].uniform_buffer_memory,
                       &window_dressing.swapchain.extent)?;
 
       let first_semaphores = [*image_available_semaphore];