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

    r5168 r5381  
    260260    } 
    261261     
    262     // wait for all cull and draw threads to complete before exit. 
     262    // wait for all cull and draw threads to complete. 
    263263    viewer.sync(); 
    264264 
     265    // run a clean up frame to delete all OpenGL objects. 
     266    viewer.cleanup_frame(); 
     267 
     268    // wait for all the clean up frame to complete. 
     269    viewer.sync(); 
     270 
    265271    return 0; 
    266272}