diff --git a/examples/osgpbuffer/RenderToTextureStage.cpp b/examples/osgpbuffer/RenderToTextureStage.cpp index 638f8f9db..219342926 100644 --- a/examples/osgpbuffer/RenderToTextureStage.cpp +++ b/examples/osgpbuffer/RenderToTextureStage.cpp @@ -29,8 +29,8 @@ void MyRenderToTextureStage::draw(osg::State& state, osgUtil::RenderLeaf*& previ { // Create pbuffer texture const unsigned int contextID = state.getContextID(); - osg::Texture::TextureObject* textureObeject = _texture->getTextureObject(contextID); - if (textureObeject == 0) + osg::Texture::TextureObject* textureObject = _texture->getTextureObject(contextID); + if (textureObject == 0) { // Create dynamic texture, subload callback required. _texture->apply(state); diff --git a/src/osgPlugins/txp/trPagePageManager.cpp b/src/osgPlugins/txp/trPagePageManager.cpp index 8cf585669..eeb30aff7 100644 --- a/src/osgPlugins/txp/trPagePageManager.cpp +++ b/src/osgPlugins/txp/trPagePageManager.cpp @@ -434,7 +434,7 @@ public: { apply(drawable->getStateSet()); - if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects()); + if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects()) { drawable->dirtyDisplayList(); } diff --git a/src/osgProducer/DatabasePager.cpp b/src/osgProducer/DatabasePager.cpp index 58f4f4443..4b92223c7 100644 --- a/src/osgProducer/DatabasePager.cpp +++ b/src/osgProducer/DatabasePager.cpp @@ -356,7 +356,7 @@ public: { apply(drawable->getStateSet()); - if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects()); + if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects()) { drawable->dirtyDisplayList(); } diff --git a/src/osgProducer/GNUmakefile b/src/osgProducer/GNUmakefile index a1e61cf9d..d2830d156 100644 --- a/src/osgProducer/GNUmakefile +++ b/src/osgProducer/GNUmakefile @@ -9,6 +9,7 @@ CXXFILES =\ OsgSceneHandler.cpp\ ViewerEventHandler.cpp\ Viewer.cpp\ + Version.cpp\ LIBS += -lProducer $(GL_LIBS) -losgText -losgGA -losgUtil -losgDB -losg $(OTHER_LIBS) DEF += -DOSGPRODUCER_LIBRARY