diff --git a/include/osgUtil/IncrementalCompileOperation b/include/osgUtil/IncrementalCompileOperation index 6325272f5..8c38371bb 100644 --- a/include/osgUtil/IncrementalCompileOperation +++ b/include/osgUtil/IncrementalCompileOperation @@ -295,7 +295,7 @@ class OSGUTIL_EXPORT IncrementalCompileOperation : public osg::GraphicsOperation virtual ~IncrementalCompileOperation(); - void compileSets(CompileSets& toCompile, CompileInfo compileInfo); + void compileSets(CompileSets& toCompile, CompileInfo& compileInfo); double _targetFrameRate; double _minimumTimeAvailableForGLCompileAndDeletePerFrame; diff --git a/src/osgUtil/IncrementalCompileOperation.cpp b/src/osgUtil/IncrementalCompileOperation.cpp index 6690ed897..0725f0575 100644 --- a/src/osgUtil/IncrementalCompileOperation.cpp +++ b/src/osgUtil/IncrementalCompileOperation.cpp @@ -724,7 +724,7 @@ void IncrementalCompileOperation::operator () (osg::GraphicsContext* context) //glFinish(); } -void IncrementalCompileOperation::compileSets(CompileSets& toCompile, CompileInfo compileInfo) +void IncrementalCompileOperation::compileSets(CompileSets& toCompile, CompileInfo& compileInfo) { osg::NotifySeverity level = osg::INFO;