Skip to content

fix TestGLUTRenderWindow.

Utkarsh Ayachit requested to merge utkarsh.ayachit/vtk:fix-glut-test into master

there were issues with the test

  1. handleResize would get called before display that resulted in the window size set in handleResize being lost and the window being recreated in display.
  2. since the test didn't setup glViewport, we needed to make sure vtkExternalOpenGLRenderWindow didn't attempt to resize itself using the viewport by turning off AutomaticWindowPositionAndResize.

Merge request reports