Make Cocoa context-view connection before MakeCurrent
Because vtkOpenGLRenderWindow::Start()
calls MakeCurrent()
, it must be moved until after vtkCocoaRenderWindow::Start()
has done all of the context setup. This brings the order of operations in line with vtkXOpenGLRenderWindow
.