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

    r4830 r5381  
    200200    } 
    201201     
    202     // wait for all cull and draw threads to complete before exit. 
     202    // wait for all cull and draw threads to complete. 
     203    viewer.sync(); 
     204 
     205    // run a clean up frame to delete all OpenGL objects. 
     206    viewer.cleanup_frame(); 
     207 
     208    // wait for all the clean up frame to complete. 
    203209    viewer.sync(); 
    204210