win-capture: Reset WGC fail flag for new window

WGC will give up on a window that it fails to capture, but that
shouldn't stop it from attempting to capture new windows.

Fixes #2928.
This commit is contained in:
jpark37
2020-05-13 07:54:41 -07:00
parent 7993179466
commit 477f90620d
+1
View File
@@ -421,6 +421,7 @@ static void wc_tick(void *data, float seconds)
return;
}
wc->previously_failed = false;
reset_capture = true;
} else if (IsIconic(wc->window)) {