mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
Merge pull request #2106 from cg2121/fix-preview-bug
UI: Fix issue with preview projector
This commit is contained in:
commit
7ed8f05f21
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user