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

Fix iOS build

parent ccb3ee25
No related branches found
No related tags found
No related merge requests found
......@@ -249,8 +249,10 @@ void vtkPanoramicProjectionPass::Project(vtkOpenGLRenderWindow* renWin)
this->QuadHelper->Program->SetUniform2f("scale", scale);
this->QuadHelper->Program->SetUniform2f("shift", shift);
#ifndef GL_ES_VERSION_3_0
vtkOpenGLState* ostate = renWin->GetState();
ostate->vtkglEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
#endif
this->QuadHelper->Render();
......
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