Commit 37a10c60 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Release graphics resources properly.

vtkScalarBarActor wasn't releasing graphics resources for internal texture. This
fixes the problem.

Change-Id: I5f01c7d8ad0f78c25b4ab8f21bc8b4e66ae91c5f
parent 1509669d
......@@ -266,6 +266,7 @@ void vtkScalarBarActor::ReleaseGraphicsResources(vtkWindow* win)
this->P->AnnotationLeadersActor->ReleaseGraphicsResources(win);
this->BackgroundActor->ReleaseGraphicsResources(win);
this->FrameActor->ReleaseGraphicsResources(win);
this->Texture->ReleaseGraphicsResources(win);
}
//----------------------------------------------------------------------------
......
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