Commit 3efcf7a7 authored by Ken Martin's avatar Ken Martin

revert non win32 code back

looks like we do not need to change the generic
code for opening a offscreen window
parent 8024256d
Pipeline #7924 passed with stage
......@@ -1825,14 +1825,9 @@ int vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int width, int height)
assert("pre: positive_height" && height>0);
assert("pre: not_initialized" && !this->OffScreenUseFrameBuffer);
if (!this->Initialized)
{
this->CreateAWindow();
this->OpenGLInit();
}
this->CreateAWindow();
this->MakeCurrent();
this->OpenGLInit();
int result = this->CreateHardwareOffScreenBuffers(width, height);
if (!result)
......
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