Compile fixes.

This commit is contained in:
Robert Osfield
2003-07-15 07:53:25 +00:00
parent ae2712c84b
commit fc4b990a7a
4 changed files with 5 additions and 4 deletions

View File

@@ -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);

View File

@@ -434,7 +434,7 @@ public:
{
apply(drawable->getStateSet());
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects());
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects())
{
drawable->dirtyDisplayList();
}

View File

@@ -356,7 +356,7 @@ public:
{
apply(drawable->getStateSet());
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects());
if (drawable->getUseDisplayList() || drawable->getUseVertexBufferObjects())
{
drawable->dirtyDisplayList();
}

View File

@@ -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