UI: Clean up Projector Creation
The Init function were only called on projector creation so this isn't needed to be on a separate function. Its clearer to read the code.
This commit is contained in:
parent
22a1887340
commit
32ee7ee4e2
3 changed files with 31 additions and 35 deletions
|
|
@ -5672,7 +5672,6 @@ OBSProjector *OBSBasic::OpenProjector(obs_source_t *source, int monitor,
|
|||
projectors[monitor] = projector;
|
||||
}
|
||||
|
||||
projector->Init();
|
||||
return projector;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue