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/osgspotlight/osgspotlight.cpp

    r4805 r5381  
    330330    } 
    331331     
    332     // wait for all cull and draw threads to complete before exit. 
     332    // wait for all cull and draw threads to complete. 
    333333    viewer.sync(); 
    334334 
     335    // run a clean up frame to delete all OpenGL objects. 
     336    viewer.cleanup_frame(); 
     337 
     338    // wait for all the clean up frame to complete. 
     339    viewer.sync(); 
     340 
    335341    return 0; 
    336342}