Added sync at the end of the main loop to prevent seg fault on exit.

This commit is contained in:
Robert Osfield
2003-03-19 15:57:31 +00:00
parent ca0ff266e2
commit 6fc7f82a31

View File

@@ -339,6 +339,10 @@ int main( int argc, char **argv )
viewer.frame();
}
// wait for all cull and draw threads to complete.
viewer.sync();
return 0;
}