Initialize the rendering window.
| 381 | |
| 382 | // Initialize the rendering window. |
| 383 | void vtkOSOpenGLRenderWindow::Initialize() |
| 384 | { |
| 385 | if (!(this->Internal->OffScreenContextId)) |
| 386 | { |
| 387 | // initialize offscreen window |
| 388 | int width = ((this->Size[0] > 0) ? this->Size[0] : 300); |
| 389 | int height = ((this->Size[1] > 0) ? this->Size[1] : 300); |
| 390 | this->CreateOffScreenWindow(width, height); |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | void vtkOSOpenGLRenderWindow::Finalize() |
| 395 | { |
no test coverage detected