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

    r5328 r5381  
    410410    } 
    411411     
    412     // wait for all cull and draw threads to complete before exit. 
     412    // wait for all cull and draw threads to complete. 
    413413    viewer.sync(); 
     414 
     415    // run a clean up frame to delete all OpenGL objects. 
     416    viewer.cleanup_frame(); 
     417 
     418    // wait for all the clean up frame to complete. 
     419    viewer.sync(); 
    414420     
    415421    return 0;