Skip to content

Commit

Permalink
layer: Handle non-gamescope swapchains gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Sep 29, 2023
1 parent 2633bb4 commit 4e02585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layer/VkLayer_FROG_gamescope_wsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ namespace GamescopeWSILayer {
}
}

assert(display);
waylandPumpEvents(display);
if (display)
waylandPumpEvents(display);

VkResult result = pDispatch->QueuePresentKHR(queue, pPresentInfo);

Expand Down

0 comments on commit 4e02585

Please sign in to comment.