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

    r4713 r5381  
    172172    } 
    173173     
    174     // wait for all cull and draw threads to complete before exit. 
     174    // wait for all cull and draw threads to complete. 
     175    viewer.sync(); 
     176 
     177    // run a clean up frame to delete all OpenGL objects. 
     178    viewer.cleanup_frame(); 
     179 
     180    // wait for all the clean up frame to complete. 
    175181    viewer.sync(); 
    176182