Skip to content

Commit

Permalink
Try 1 sec timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Jul 18, 2024
1 parent 5970586 commit d951564
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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(0)), |swapchain_image_views| {
match renderer.acquire(Some(Duration::from_millis(1000)), |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(0)), |swapchain_image_views| {
match window_renderer.acquire(Some(Duration::from_millis(1000)), |swapchain_image_views| {
pipeline
.place_over_frame
.recreate_framebuffers(swapchain_image_views)
Expand Down
2 changes: 1 addition & 1 deletion examples/triangle-util/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ fn main() -> Result<(), impl Error> {

// Begin rendering by acquiring the gpu future from the window renderer.
let previous_frame_end = window_renderer
.acquire(Some(Duration::from_millis(1)), |swapchain_images| {
.acquire(Some(Duration::from_millis(1000)), |swapchain_images| {
// Whenever the window resizes we need to recreate everything dependent
// on the window size. In this example that
// includes the swapchain, the framebuffers
Expand Down

0 comments on commit d951564

Please # to comment.