mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Enable Windows and MacOS build with OBS versions older than 31.1.1
This commit is contained in:
parent
5d6a693f36
commit
4534b23bad
|
|
@ -240,7 +240,7 @@ bool MacroActionSwitchScene::Load(obs_data_t *obj)
|
|||
GetWeakCanvasByName(obs_data_get_string(obj, "canvas"));
|
||||
} else {
|
||||
OBSCanvasAutoRelease main = obs_get_main_canvas();
|
||||
_canvas = OBSGetWeakRef(main);
|
||||
_canvas = obs_canvas_get_weak_canvas(main);
|
||||
}
|
||||
|
||||
_index.Save(obj, "index");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user