diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp index 398425334..cfd668a1b 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);