Attempt at build fixes for IRIX.

This commit is contained in:
Robert Osfield
2005-12-05 10:24:02 +00:00
parent 197b68ecb8
commit e1454d22a7
4 changed files with 9 additions and 5 deletions

View File

@@ -138,7 +138,7 @@ GraphicsContextImplementation::GraphicsContextImplementation(Traits* traits)
}
else
{
getState()->setContextID( GraphicsContext::createNewContextID() );
getState()->setContextID( osg::GraphicsContext::createNewContextID() );
}
// but we share texture objects etc. so we also share the same contextID
@@ -150,7 +150,7 @@ GraphicsContextImplementation::GraphicsContextImplementation(Traits* traits)
// need to do something here....
setState( new osg::State );
getState()->setContextID( GraphicsContext::createNewContextID() );
getState()->setContextID( osg::GraphicsContext::createNewContextID() );
//_rs->realize();
}

View File

@@ -20,6 +20,7 @@
#include <osgSim/OverlayNode>
using namespace osgSim;
using namespace osg;
OverlayNode::OverlayNode():
_texEnvMode(GL_DECAL),
@@ -31,7 +32,7 @@ OverlayNode::OverlayNode():
}
OverlayNode::OverlayNode(const OverlayNode& copy, const osg::CopyOp& copyop):
Group(copy,copyop),
osg::Group(copy,copyop),
_overlaySubgraph(copy._overlaySubgraph),
_texEnvMode(copy._texEnvMode),
_textureUnit(copy._textureUnit),