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

    r4713 r5381  
    244244    } 
    245245     
    246     // wait for all cull and draw threads to complete before exit. 
     246    // wait for all cull and draw threads to complete. 
     247    viewer.sync(); 
     248 
     249    // run a clean up frame to delete all OpenGL objects. 
     250    viewer.cleanup_frame(); 
     251 
     252    // wait for all the clean up frame to complete. 
    247253    viewer.sync(); 
    248254