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

    r5187 r5381  
    376376    } 
    377377 
    378     // wait for all cull and draw threads to complete before exit. 
     378    // wait for all cull and draw threads to complete. 
     379    viewer.sync(); 
     380 
     381    // run a clean up frame to delete all OpenGL objects. 
     382    viewer.cleanup_frame(); 
     383 
     384    // wait for all the clean up frame to complete. 
    379385    viewer.sync(); 
    380386