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

    r5328 r5381  
    163163    } 
    164164     
    165     // wait for all cull and draw threads to complete before exit. 
     165    // wait for all cull and draw threads to complete. 
     166    viewer.sync(); 
     167 
     168    // run a clean up frame to delete all OpenGL objects. 
     169    viewer.cleanup_frame(); 
     170 
     171    // wait for all the clean up frame to complete. 
    166172    viewer.sync(); 
    167173