Skip to content

Commit fa3136f

Browse files
committed
Removed duplicate device release in voronoi tutorial
1 parent 74084b6 commit fa3136f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tutorials/voronoi/voronoi_device.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ extern "C" void device_render (int* pixels,
412412
/* called by the C++ code for cleanup */
413413
extern "C" void device_cleanup ()
414414
{
415-
rtcReleaseDevice(g_device); g_device = nullptr;
416415
TutorialData_Destructor(&data);
417416
}
418417

0 commit comments

Comments
 (0)