UI: Simplify fade to black code

Removes unnecessary function call.
This commit is contained in:
Clayton Groeneveld
2021-05-08 19:05:27 -07:00
committed by Jim
parent a7b20fcd2a
commit c2bc5e675c
+1 -3
View File
@@ -415,10 +415,8 @@ void OBSBasic::TransitionToScene(OBSSource source, bool force,
}
if (black && !prevFTBSource) {
prevFTBSource = source;
source = nullptr;
prevFTBSource =
obs_transition_get_active_source(transition);
obs_source_release(prevFTBSource);
} else if (black && prevFTBSource) {
source = prevFTBSource;
prevFTBSource = nullptr;