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

    r4956 r5381  
    485485    } 
    486486     
    487     // wait for all cull and draw threads to complete before exit. 
     487    // wait for all cull and draw threads to complete. 
    488488    viewer.sync(); 
    489489 
     490    // run a clean up frame to delete all OpenGL objects. 
     491    viewer.cleanup_frame(); 
     492 
     493    // wait for all the clean up frame to complete. 
     494    viewer.sync(); 
     495 
    490496    return 0; 
    491497