We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7624f6b commit 937ab37Copy full SHA for 937ab37
tutorials/07_custom_bvh_import/main.cpp
@@ -97,6 +97,8 @@ class Tutorial : public TutorialBase
97
CHECK_ORO( oroFree( reinterpret_cast<oroDeviceptr>( mesh.triangleIndices ) ) );
98
CHECK_ORO( oroFree( reinterpret_cast<oroDeviceptr>( mesh.vertices ) ) );
99
CHECK_ORO( oroFree( reinterpret_cast<oroDeviceptr>( pixels ) ) );
100
+ CHECK_ORO( oroFree( reinterpret_cast<oroDeviceptr>( geomInput.nodeList.leafNodes ) ) );
101
+ CHECK_ORO( oroFree( reinterpret_cast<oroDeviceptr>( geomInput.nodeList.internalNodes ) ) );
102
103
CHECK_HIPRT( hiprtDestroyGeometry( ctxt, geom ) );
104
CHECK_HIPRT( hiprtDestroyContext( ctxt ) );
0 commit comments