implement scene adding callbacks, make a few API tweaks

This commit is contained in:
jp9000 2013-12-28 05:33:16 -07:00
commit cec94b042e
12 changed files with 83 additions and 24 deletions

View file

@ -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";