Fixed uninitialized variable.

This commit is contained in:
Robert Osfield 2016-06-02 15:41:15 +01:00
parent 700e38ba9d
commit f10e931f82

View File

@ -101,12 +101,16 @@ struct RetrieveQueriesCallback : public osg::Camera::DrawCallback
typedef std::vector<osg::ref_ptr<osg::TestResult> > ResultsVector;
ResultsVector _results;
RetrieveQueriesCallback( osg::GLExtensions* ext=NULL )
: _extensionsFallback( ext )
RetrieveQueriesCallback( osg::GLExtensions* ext=NULL ) :
_extensionsFallback( ext )
{
}
RetrieveQueriesCallback( const RetrieveQueriesCallback& rqc, const osg::CopyOp& ) :
_extensionsFallback( rqc._extensionsFallback )
{
}
RetrieveQueriesCallback( const RetrieveQueriesCallback&, const osg::CopyOp& ) {}
META_Object( osgOQ, RetrieveQueriesCallback )
virtual void operator() (const osg::Camera& camera) const