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

    r3528 r5381  
    295295    } 
    296296 
    297     // wait for all cull and draw threads to complete before exit. 
     297    // wait for all cull and draw threads to complete. 
     298    viewer.sync(); 
     299 
     300    // run a clean up frame to delete all OpenGL objects. 
     301    viewer.cleanup_frame(); 
     302 
     303    // wait for all the clean up frame to complete. 
    298304    viewer.sync(); 
    299305