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

    r4805 r5381  
    204204    } 
    205205     
    206     // wait for all cull and draw threads to complete before exit. 
     206    // wait for all cull and draw threads to complete. 
     207    viewer.sync(); 
     208 
     209    // run a clean up frame to delete all OpenGL objects. 
     210    viewer.cleanup_frame(); 
     211 
     212    // wait for all the clean up frame to complete. 
    207213    viewer.sync(); 
    208214