Commit 8f4f5602 authored by Burlen Loring's avatar Burlen Loring
Browse files

Cleanup warning of shadow variable in vtkDepthPeelingPass

Change-Id: Ied5df40baffbd61935837c45a0aa8fb853f922d2
parent f76cf155
......@@ -399,8 +399,6 @@ void vtkDepthPeelingPass::Render(const vtkRenderState *s)
if(l>1) // some higher layer, we allocated some tex unit in RenderPeel()
{
vtkOpenGLRenderWindow *context
= vtkOpenGLRenderWindow::SafeDownCast(this->Prog->GetContext());
vtkTextureUnitManager *m=context->GetTextureUnitManager();
m->Free(this->ShadowTexUnit);
m->Free(this->OpaqueShadowTexUnit);
......
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