<div dir="ltr">put more code, I can't see anything wrong here.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 4, 2017 at 9:46 PM, griffin2000 <span dir="ltr"><<a href="mailto:garethmorgan1977@gmail.com" target="_blank">garethmorgan1977@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Though I still get a crash in my app, even though the standalone cycles app<br>
is working for me.<br>
<br>
The order in my app matches the standalone app, but I still get that crash.<br>
Any idea what the issue could be?  Code below<br>
<br>
//Create Session<br>
        session = new ccl::Session(session_params);<br>
        session->progress.set_update_<wbr>callback(std::bind(session_<wbr>print_status));<br>
        buffer_params = new ccl::BufferParams();<br>
        buffer_params->width = width;<br>
        buffer_params->height = height;<br>
        buffer_params->full_width = width;<br>
        buffer_params->full_height = height;<br>
.<br>
.<br>
//Create scene<br>
        session->scene = new ccl::Scene(scene_params, session->device);<br>
//Setup scene, meshes, etc.<br>
.<br>
.<br>
//Reset and start session<br>
        session->reset(*buffer_params, session_params.samples);<br>
        session->start();<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://blender.45788.x6.nabble.com/Bf-cycles-f7.html" rel="noreferrer" target="_blank">http://blender.45788.x6.<wbr>nabble.com/Bf-cycles-f7.html</a><br>
______________________________<wbr>_________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
</blockquote></div><br></div>