mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-15 05:40:01 -05:00
Enable Windows and MacOS build with OBS versions older than 31.1.1
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user