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,7 +813,7 @@ namespace GamescopeWSILayer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(display);
|
if (display)
|
||||||
waylandPumpEvents(display);
|
waylandPumpEvents(display);
|
||||||
|
|
||||||
VkResult result = pDispatch->QueuePresentKHR(queue, pPresentInfo);
|
VkResult result = pDispatch->QueuePresentKHR(queue, pPresentInfo);
|
||||||
|
|
Loading…
Reference in a new issue