UI: Remove unnecessary shared_ptr allocations

Not sure why these were separate allocations -- the data will be
preserved just fine when copying the structure without being separate
allocations
This commit is contained in:
jp9000
2021-12-28 08:34:40 -08:00
parent 0c4b3816de
commit 2364dfd0ef
3 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ struct SavedProjectorInfo {
struct SourceCopyInfo {
OBSWeakSource weak_source;
bool visible;
std::shared_ptr<obs_sceneitem_crop> crop;
std::shared_ptr<obs_transform_info> transform;
obs_sceneitem_crop crop;
obs_transform_info transform;
};
struct QuickTransition {