From 091151e4ce2029459fc55c21c71326f9f09873c8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 26 Nov 2003 16:43:28 +0000 Subject: [PATCH] Warning fix from Romano --- include/osgUtil/SceneView | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgUtil/SceneView b/include/osgUtil/SceneView index c004c2ab3..85eb70ad1 100644 --- a/include/osgUtil/SceneView +++ b/include/osgUtil/SceneView @@ -373,7 +373,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced }; void setComputeStereoMatricesCallback(ComputeStereoMatricesCallback* callback) { _computeStereoMatricesCallback=callback; } - ComputeStereoMatricesCallback* getComputeStereoMatricesCallback(ComputeStereoMatricesCallback* callback) { return _computeStereoMatricesCallback.get(); } + ComputeStereoMatricesCallback* getComputeStereoMatricesCallback() { return _computeStereoMatricesCallback.get(); } const ComputeStereoMatricesCallback* getComputeStereoMatricesCallback() const { return _computeStereoMatricesCallback.get(); } inline osg::Matrixd computeLeftEyeProjection(const osg::Matrixd& projection) const