Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 93e5a3b

Browse files
committed
fix issue when closing a glut window.
1 parent 3f9cab2 commit 93e5a3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SolAR3DPointsViewerOpengl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ FrameworkReturnCode SolAR3DPointsViewerOpengl::display (const std::vector<SRef<C
144144
{
145145
m_glcamera.clear(0.0, 0.0, 0.0, 1.0);
146146
glutDestroyWindow(m_glWindowID);
147+
glutMainLoopEvent();
147148
return FrameworkReturnCode::_STOP;
148149
}
149150

0 commit comments

Comments
 (0)