diff --git a/plugins/linux-capture/xcompcap-main.cpp b/plugins/linux-capture/xcompcap-main.cpp index d894795c6..8f5d32ea3 100644 --- a/plugins/linux-capture/xcompcap-main.cpp +++ b/plugins/linux-capture/xcompcap-main.cpp @@ -520,6 +520,10 @@ void XCompcapMain::tick(float seconds) void XCompcapMain::render(gs_effect_t *effect) { PLock lock(&p->lock, true); + + if (!p->win) + return; + effect = obs_get_base_effect(OBS_EFFECT_OPAQUE); if (!lock.isLocked() || !p->tex)