Show
Ignore:
Timestamp:
08/02/06 21:55:03 (8 years ago)
Author:
robert
Message:

Added viewer.cleanup_frame() to all examples.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgdelaunay/osgdelaunay.cpp

    r5328 r5381  
    13751375    } 
    13761376     
    1377     // wait for all cull and draw threads to complete before exit. 
     1377    // wait for all cull and draw threads to complete. 
    13781378    viewer.sync(); 
     1379 
     1380    // run a clean up frame to delete all OpenGL objects. 
     1381    viewer.cleanup_frame(); 
     1382 
     1383    // wait for all the clean up frame to complete. 
     1384    viewer.sync(); 
    13791385     
    13801386    return 0;