Skip to content
Snippets Groups Projects
Commit 75f66072 authored by Ken Martin's avatar Ken Martin
Browse files

Fix an issue with cocoa windows being grey

There was a missing End() call that caused all
cocoa based windows to be grey instead of filled with
the correct rendering.
parent 9a7847dc
No related branches found
No related tags found
No related merge requests found
......@@ -265,6 +265,7 @@ void vtkCocoaRenderWindowInteractor::Initialize()
// get the info we need from the RenderingWindow
vtkCocoaRenderWindow* renWin = (vtkCocoaRenderWindow*)(this->RenderWindow);
renWin->Start();
renWin->End();
const int* size = renWin->GetSize();
renWin->GetPosition(); // update values of this->Position[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment