summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-08-15 20:26:28 -0700
committerIrene Knapp <ireneista@irenes.space>2026-08-16 02:08:18 -0700
commitdb64249ce8108439ada78a2d23d67d2c573a1688 (patch)
tree3029aeaab6f3e30ff199ae367f75a5851e8f0222 /src/main.rs
parent2fae64a18c3253a892c9b3e529fb7b09e0bac753 (diff)
move uniform buffers into Frame
it's better this way. same lifetime.

Force-Push: yes
Change-Id: Ida309f05132838febcc9eb606f5915e7592ac398
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];