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:
Shaolin
2018-04-29 09:29:53 -03:00
parent 22a1887340
commit 32ee7ee4e2
3 changed files with 31 additions and 35 deletions

View File

@@ -5672,7 +5672,6 @@ OBSProjector *OBSBasic::OpenProjector(obs_source_t *source, int monitor,
projectors[monitor] = projector;
}
projector->Init();
return projector;
}