Commit 427694b7 authored by Ken Martin's avatar Ken Martin
Browse files

Fix a compiler warning

Change-Id: Id9428264d4ce0d660141912ca82d027f0510c2e5
parent 2577188a
......@@ -352,7 +352,8 @@ void vtkTextMapper::RenderOverlay(vtkViewport *viewport, vtkActor2D *actor)
{
this->UpdateImage();
this->UpdateQuad(actor);
if (ren = vtkRenderer::SafeDownCast(viewport))
ren = vtkRenderer::SafeDownCast(viewport);
if (ren)
{
vtkDebugMacro(<<"Texture::Render called");
this->Texture->Render(ren);
......
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