Merge pull request #2929 from jpark37/wgc-fail-invalidate

win-capture: Reset WGC fail flag for new window
This commit is contained in:
Richard Stanway 2020-05-17 22:15:44 +02:00 committed by GitHub
commit c8aec387c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)) {