Skip to content
Snippets Groups Projects
Commit 92879a7a authored by Michael Migliore's avatar Michael Migliore
Browse files

Fix binding order

parent 570c6ecb
No related branches found
No related tags found
No related merge requests found
......@@ -102,8 +102,8 @@ void vtkEquirectangularToCubemapTexture::Load(vtkRenderer* ren)
vtkNew<vtkOpenGLFramebufferObject> fbo;
fbo->SetContext(renWin);
fbo->Bind();
fbo->SaveCurrentBindingsAndBuffers();
fbo->Bind();
for (int i = 0; i < 6; i++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment