implement scene adding callbacks, make a few API tweaks
This commit is contained in:
@@ -163,7 +163,7 @@ static void test()
|
||||
|
||||
/* ------------------------------------------------------ */
|
||||
/* create scene and add source to scene (twice) */
|
||||
SceneContext scene{obs_scene_create()};
|
||||
SceneContext scene{obs_scene_create("test scene")};
|
||||
if (!scene)
|
||||
throw "Couldn't create scene";
|
||||
|
||||
|
@@ -167,7 +167,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdLine,
|
||||
|
||||
/* ------------------------------------------------------ */
|
||||
/* create scene and add source to scene (twice) */
|
||||
SceneContext scene = obs_scene_create();
|
||||
SceneContext scene = obs_scene_create("test scene");
|
||||
if (!scene)
|
||||
throw "Couldn't create scene";
|
||||
|
||||
|
Reference in New Issue
Block a user