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

    r3995 r5381  
    370370    } 
    371371 
     372    // wait for all cull and draw threads to complete. 
     373    viewer.sync(); 
     374 
     375    // run a clean up frame to delete all OpenGL objects. 
     376    viewer.cleanup_frame(); 
     377 
     378    // wait for all the clean up frame to complete. 
    372379    viewer.sync(); 
    373380