Commit 114f5ac8 authored by Ken Martin's avatar Ken Martin
Browse files

added make current method

parent a0201da7
...@@ -753,3 +753,9 @@ void vtkOglrRenderWindow::SetPixelData(int x1, int y1, int x2, int y2, ...@@ -753,3 +753,9 @@ void vtkOglrRenderWindow::SetPixelData(int x1, int y1, int x2, int y2,
delete [] buffer; delete [] buffer;
} }
void vtkOglrRenderWindow::MakeCurrent()
{
// set the current window
glXMakeCurrent(this->DisplayId,this->WindowId,this->ContextId);
}
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