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

Method MakeCurrent

Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:435–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435void 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:

Callers 5

FrameMethod · 0.95
DestroyWindowMethod · 0.95
CreateOffScreenWindowMethod · 0.95
ResizeOffScreenWindowMethod · 0.95
WindowInitializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected