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

    r5328 r5381  
    798798    } 
    799799     
    800     // wait for all cull and draw threads to complete before exit. 
     800    // wait for all cull and draw threads to complete. 
    801801    viewer.sync(); 
     802 
     803    // run a clean up frame to delete all OpenGL objects. 
     804    viewer.cleanup_frame(); 
     805 
     806    // wait for all the clean up frame to complete. 
     807    viewer.sync(); 
    802808     
    803809    return 0;