Added StatsHandler to osgtessellationshaders example to test out rendering bug associated with stats rendering.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14807 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2015-03-23 11:36:02 +00:00
parent 890aea9537
commit 06e6f368fc

View File

@ -296,6 +296,7 @@ int main(int argc, char* argv[])
} }
viewer.addEventHandler(new KeyboardEventHandler(tessInnerU, tessOuterU)); viewer.addEventHandler(new KeyboardEventHandler(tessInnerU, tessOuterU));
viewer.addEventHandler(new osgViewer::StatsHandler);
viewer.setSceneData(geode.get()); viewer.setSceneData(geode.get());
return viewer.run(); return viewer.run();
} }