diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp index 3984253..cfd668a 100644 --- a/layer/VkLayer_FROG_gamescope_wsi.cpp +++ b/layer/VkLayer_FROG_gamescope_wsi.cpp @@ -813,8 +813,8 @@ namespace GamescopeWSILayer { } } - assert(display); - waylandPumpEvents(display); + if (display) + waylandPumpEvents(display); VkResult result = pDispatch->QueuePresentKHR(queue, pPresentInfo);