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

    r4851 r5381  
    300300    } 
    301301     
    302     // wait for all cull and draw threads to complete before exit. 
     302    // wait for all cull and draw threads to complete. 
     303    viewer.sync(); 
     304 
     305    // run a clean up frame to delete all OpenGL objects. 
     306    viewer.cleanup_frame(); 
     307 
     308    // wait for all the clean up frame to complete. 
    303309    viewer.sync(); 
    304310