mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-02 18:36:53 -04:00
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:
1 parent
22a1887340
commit
32ee7ee4e2
3 files changed
+31
-35
No files matched your search
@@ -5672,7 +5672,6 @@ OBSProjector *OBSBasic::OpenProjector(obs_source_t *source, int monitor,
|
||||
projectors[monitor] = projector;
|
||||
}
|
||||
|
||||
projector->Init();
|
||||
return projector;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user