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

    r5317 r5381  
    507507    } 
    508508     
    509     // wait for all cull and draw threads to complete before exit. 
     509    // wait for all cull and draw threads to complete. 
    510510    viewer.sync(); 
    511511 
     512    // run a clean up frame to delete all OpenGL objects. 
     513    viewer.cleanup_frame(); 
     514 
     515    // wait for all the clean up frame to complete. 
     516    viewer.sync(); 
     517 
    512518    return 0; 
    513519}