UI: Fix issue with preview projector

master
Clayton Groeneveld 2019-10-09 02:43:48 -05:00
parent 89586ef441
commit 15129b5751
1 changed files with 3 additions and 0 deletions

View File

@ -653,6 +653,9 @@ void OBSProjector::OBSRender(void *data, uint32_t cx, uint32_t cy)
source = curSource;
window->source = source;
}
} else if (window->type == ProjectorType::Preview &&
!main->IsPreviewProgramMode()) {
window->source = nullptr;
}
if (source)