Attempt at build fixes for IRIX.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user