layer: Handle non-gamescope swapchains gracefully
This commit is contained in:
parent
2633bb4778
commit
4e02585f6b
1 changed files with 2 additions and 2 deletions
|
@ -813,8 +813,8 @@ namespace GamescopeWSILayer {
|
|||
}
|
||||
}
|
||||
|
||||
assert(display);
|
||||
waylandPumpEvents(display);
|
||||
if (display)
|
||||
waylandPumpEvents(display);
|
||||
|
||||
VkResult result = pDispatch->QueuePresentKHR(queue, pPresentInfo);
|
||||
|
||||
|
|
Loading…
Reference in a new issue