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

    r1844 r5381  
    219219        } 
    220220     
    221         // wait for all cull and draw threads to complete before exit. 
     221        // wait for all cull and draw threads to complete. 
     222        viewer.sync(); 
     223 
     224        // run a clean up frame to delete all OpenGL objects. 
     225        viewer.cleanup_frame(); 
     226 
     227        // wait for all the clean up frame to complete. 
    222228        viewer.sync(); 
    223229    }