Commit 92879a7a authored by Michael Migliore's avatar Michael Migliore

Fix binding order

parent 570c6ecb
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment