diff --git a/examples/osgimpostor/osgimpostor.cpp b/examples/osgimpostor/osgimpostor.cpp index 0b0fcbb3d..6e0ab5453 100644 --- a/examples/osgimpostor/osgimpostor.cpp +++ b/examples/osgimpostor/osgimpostor.cpp @@ -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; }