diff --git a/src/osgWrappers/osgUtil/RenderBin.cpp b/src/osgWrappers/osgUtil/RenderBin.cpp index 34857c679..37874b860 100644 --- a/src/osgWrappers/osgUtil/RenderBin.cpp +++ b/src/osgWrappers/osgUtil/RenderBin.cpp @@ -83,9 +83,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderBin) I_Method1(void, setDrawCallback, IN, osgUtil::RenderBin::DrawCallback *, drawCallback); I_Method0(osgUtil::RenderBin::DrawCallback *, getDrawCallback); I_Method0(const osgUtil::RenderBin::DrawCallback *, getDrawCallback); - I_Method1(bool, getStats, IN, osgUtil::Statistics *, primStats); - I_Method1(void, getPrims, IN, osgUtil::Statistics *, primStats); - I_Method2(bool, getPrims, IN, osgUtil::Statistics *, primStats, IN, int, nbin); + I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats); I_Method0(void, copyLeavesFromStateGraphListToRenderLeafList); I_ReadOnlyProperty(int, BinNum); I_Property(osgUtil::RenderBin::DrawCallback *, DrawCallback); diff --git a/src/osgWrappers/osgUtil/RenderStage.cpp b/src/osgWrappers/osgUtil/RenderStage.cpp index da8db7413..34c9a8d60 100644 --- a/src/osgWrappers/osgUtil/RenderStage.cpp +++ b/src/osgWrappers/osgUtil/RenderStage.cpp @@ -104,7 +104,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage) I_Method1(void, addToDependencyList, IN, osgUtil::RenderStage *, rs); I_Method1(void, addPreRenderStage, IN, osgUtil::RenderStage *, rs); I_Method1(void, addPostRenderStage, IN, osgUtil::RenderStage *, rs); - I_Method1(bool, getStats, IN, osgUtil::Statistics *, primStats); + I_Method1(bool, getStats, IN, osgUtil::Statistics &, stats); I_Property(osg::CameraNode *, CameraNode); I_Property(bool, CameraRequiresSetUp); I_Property(const osg::Vec4 &, ClearAccum); diff --git a/src/osgWrappers/osgUtil/SceneView.cpp b/src/osgWrappers/osgUtil/SceneView.cpp index f28d815a9..26dc32202 100644 --- a/src/osgWrappers/osgUtil/SceneView.cpp +++ b/src/osgWrappers/osgUtil/SceneView.cpp @@ -186,7 +186,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SceneView) I_Method0(void, releaseAllGLObjects); I_Method0(void, flushAllDeletedGLObjects); I_Method1(void, flushDeletedGLObjects, IN, double &, availableTime); - I_Method1(bool, getStats, IN, osgUtil::Statistics *, primStats); + I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats); I_Property(int, ActiveUniforms); I_Property(osg::CameraNode *, Camera); I_Property(const osg::Vec4 &, ClearColor);