Commit 7e72778b authored by David E. DeMarle's avatar David E. DeMarle

don't leak ospray buffer either

parent fc779976
......@@ -996,6 +996,7 @@ void vtkOSPRayRendererNode::Render(bool prepass)
{
this->ImageX = this->Size[0];
this->ImageY = this->Size[1];
ospRelease(this->OFrameBuffer);
this->OFrameBuffer = ospNewFrameBuffer
(isize,
OSP_FB_RGBA8,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment