From Mathias Froenlich, "have a problem with the SunOS CC.
It does not like that the prototype of ClipNode::setStateSetModes() differs from implementation of that function in the constness of the second parameter. On SunOS it compiles fine, but I get link errors when the variant that is declared in the header is referenced. The attached src/osg/ClipNode.cpp file removes the const qualifier from the implementation to match exactly the prototype in the header file. The file is based on revision 7386 as of today. "
This commit is contained in:
@@ -110,7 +110,7 @@ bool ClipNode::removeClipPlane(unsigned int pos)
|
||||
}
|
||||
|
||||
// Set the GLModes on StateSet associated with the ClipPlanes.
|
||||
void ClipNode::setStateSetModes(StateSet& stateset,const StateAttribute::GLModeValue value) const
|
||||
void ClipNode::setStateSetModes(StateSet& stateset,StateAttribute::GLModeValue value) const
|
||||
{
|
||||
for(ClipPlaneList::const_iterator itr=_planes.begin();
|
||||
itr!=_planes.end();
|
||||
|
||||
Reference in New Issue
Block a user