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

    r1844 r5381  
    222222    } 
    223223     
    224     // wait for all cull and draw threads to complete before exit. 
     224    // wait for all cull and draw threads to complete. 
    225225    viewer.sync(); 
     226 
     227    // run a clean up frame to delete all OpenGL objects. 
     228    viewer.cleanup_frame(); 
     229 
     230    // wait for all the clean up frame to complete. 
     231    viewer.sync(); 
    226232     
    227233    return 0;