| 255 | } |
| 256 | |
| 257 | void 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 | |
| 271 | void vtkOSOpenGLRenderWindow::CreateOffScreenWindow(int width, int height) |
| 272 | { |
no test coverage detected