MCPcopy Create free account
hub / github.com/Kitware/VTK / DestroyWindow

Method DestroyWindow

Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:257–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void vtkOSOpenGLRenderWindow::DestroyWindow()
258{
259 this->MakeCurrent();
260 this->ReleaseGraphicsResources(this);
261
262 delete[] this->Capabilities;
263 this->Capabilities = nullptr;
264
265 this->DestroyOffScreenWindow();
266
267 // make sure all other code knows we're not mapped anymore
268 this->Mapped = 0;
269}
270
271void vtkOSOpenGLRenderWindow::CreateOffScreenWindow(int width, int height)
272{

Callers 1

FinalizeMethod · 0.95

Calls 3

MakeCurrentMethod · 0.95

Tested by

no test coverage detected