| 754 | } |
| 755 | |
| 756 | void vtkOpenGLFramebufferObject::AttachDepthBuffer() |
| 757 | { |
| 758 | if (this->FBOIndex != 0) |
| 759 | { |
| 760 | this->Context->GetState()->PushDrawFramebufferBinding(); |
| 761 | this->Context->GetState()->vtkBindFramebuffer(GL_DRAW_FRAMEBUFFER, this); |
| 762 | this->DepthBuffer->Attach(GL_DRAW_FRAMEBUFFER); |
| 763 | this->Context->GetState()->PopDrawFramebufferBinding(); |
| 764 | } |
| 765 | } |
| 766 | |
| 767 | //------------------------------------------------------------------------------ |
| 768 | void vtkOpenGLFramebufferObject::UnBind() |
no test coverage detected