| 433 | } |
| 434 | |
| 435 | void vtkOSOpenGLRenderWindow::MakeCurrent() |
| 436 | { |
| 437 | // set the current window |
| 438 | if (this->Internal->OffScreenContextId) |
| 439 | { |
| 440 | if (this->Internal->OSMesaMakeCurrent(this->Internal->OffScreenContextId, |
| 441 | this->Internal->OffScreenWindow, GL_UNSIGNED_BYTE, this->Size[0], |
| 442 | this->Size[1]) != GL_TRUE) |
| 443 | { |
| 444 | vtkWarningMacro("failed call to OSMesaMakeCurrent"); |
| 445 | } |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | //------------------------------------------------------------------------------ |
| 450 | // Description: |
no outgoing calls
no test coverage detected