diff --git a/src/core/setup/windows/VRGlutEditor.cpp b/src/core/setup/windows/VRGlutEditor.cpp index 5f50aa6d1..0385d97d1 100644 --- a/src/core/setup/windows/VRGlutEditor.cpp +++ b/src/core/setup/windows/VRGlutEditor.cpp @@ -94,6 +94,7 @@ VRGlutEditor::VRGlutEditor() { /** OpenSG Window **/ glutSetWindow(topWin); winGL = glutCreateSubWindow(topWin, 0,0,width*0.6, height*0.6); + glutPopWindow(); glutEditors[winGL] = this; cout << " Glut create window" << endl;