Skip to content

Commit

Permalink
Use PIPELINE_DEPTH instead of manually repeating code
Browse files Browse the repository at this point in the history
  • Loading branch information
patowen committed May 5, 2024
1 parent accf3ff commit 852c227
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/graphics/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,9 @@ impl Draw {
&yakui_vulkan::VulkanContext::new(device, gfx.queue, gfx.memory_properties),
yakui_vulkan_options,
);
yakui_vulkan.transfers_submitted();
yakui_vulkan.transfers_submitted();
for _ in 0..PIPELINE_DEPTH {
yakui_vulkan.transfers_submitted();
}

Self {
gfx,
Expand Down

0 comments on commit 852c227

Please sign in to comment.