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:
parent
890aea9537
commit
06e6f368fc
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user