Skip to content

Commit

Permalink
See if 0 (but not None) timeout would solve crash
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Jul 3, 2024
1 parent 5b466bf commit 5970586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/interactive-fractal/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn compute_then_render(
) {
// Start the frame.
let before_pipeline_future =
match renderer.acquire(Some(Duration::from_millis(1)), |swapchain_image_views| {
match renderer.acquire(Some(Duration::from_millis(0)), |swapchain_image_views| {
app.place_over_frame
.recreate_framebuffers(swapchain_image_views)
}) {
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-window-game-of-life/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fn compute_then_render(

// Start the frame.
let before_pipeline_future =
match window_renderer.acquire(Some(Duration::from_millis(1)), |swapchain_image_views| {
match window_renderer.acquire(Some(Duration::from_millis(0)), |swapchain_image_views| {
pipeline
.place_over_frame
.recreate_framebuffers(swapchain_image_views)
Expand Down

0 comments on commit 5970586

Please # to comment.