From 9b04594126d5a568f5d52ff02452b3e31e418d2e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 9 Aug 2007 08:19:58 +0000 Subject: [PATCH] Compile fix --- include/osgUtil/CullVisitor | 2 +- include/osgViewer/Renderer | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/osgUtil/CullVisitor b/include/osgUtil/CullVisitor index c0d526fc1..b5dd2ccf9 100644 --- a/include/osgUtil/CullVisitor +++ b/include/osgUtil/CullVisitor @@ -57,7 +57,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac /// Copy constructor that does a shallow copy. CullVisitor(const CullVisitor&); - /** Create a shallow copy on the CullVisitor.*/ + /** Create a shallow copy of the CullVisitor, used by CullVisitor::create() to clone the prototype..*/ virtual CullVisitor* clone() const { return new CullVisitor(*this); } /** get the prototype singleton used by CullVisitor::create().*/ diff --git a/include/osgViewer/Renderer b/include/osgViewer/Renderer index 289ec466d..135c2c3bc 100644 --- a/include/osgViewer/Renderer +++ b/include/osgViewer/Renderer @@ -20,7 +20,7 @@ namespace osgViewer { -class OpenGLQuerySupport +class OSGVIEWER_EXPORT OpenGLQuerySupport { public: OpenGLQuerySupport(); @@ -36,7 +36,7 @@ class OpenGLQuerySupport GLuint createQueryObject(); void beginQuery(int frameNumber); - inline void endQuery(); + void endQuery(); void initialize(osg::State* state); protected: