Show
Ignore:
Timestamp:
10/21/09 17:48:11 (4 years ago)
Author:
robert
Message:

Added stats handler to track performance effects of new GLBeginEndAdapter usage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgparticle/osgparticle.cpp

    r6941 r10657  
    1818 
    1919#include <osgViewer/Viewer> 
     20#include <osgViewer/ViewerEventHandlers> 
    2021 
    2122#include <osg/Group> 
     
    369370    build_world(root); 
    370371    
     372    // add the stats handler 
     373    viewer.addEventHandler(new osgViewer::StatsHandler); 
     374 
    371375    // add a viewport to the viewer and attach the scene graph. 
    372376    viewer.setSceneData(root);