Added cleanup_frame to prevent crashes on exit.

This commit is contained in:
Robert Osfield
2006-08-02 16:12:46 +00:00
parent 4d556c0ec4
commit 9f15e25451

View File

@@ -840,6 +840,12 @@ int main( int argc, char **argv )
}
// wait for all cull and draw threads to complete.
viewer.sync();
// do OpenGL clean up
viewer.cleanup_frame();
// wait for all cull and draw threads to complete before exit.
viewer.sync();