Commit 09ae5d6b authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Attempt to fix an errant segfault when saving images.

parent 387d551f
......@@ -360,6 +360,7 @@ void vtkWindowToImageFilter::RequestData(
{
this->Input->Render();
}
this->Input->MakeCurrent();
int buffer = this->ReadFrontBuffer;
if(!this->Input->GetDoubleBuffer())
......
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