From Mathias Froehlich, build fixes for various unices

This commit is contained in:
Robert Osfield
2008-06-26 12:08:37 +00:00
parent c32ee85d3d
commit 260d0d384f
3 changed files with 3 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
#ifndef OSG_CULLSETTINGS
#define OSG_CULLSETTINGS 1
#include <iosfwd>
#include <osg/Matrix>
#include <osg/ClearNode>

View File

@@ -383,7 +383,7 @@ QueryGeometry::drawImplementation( osg::RenderInfo& renderInfo ) const
"oagOQ: QG: Querying for: " << _oqnName << std::endl;
ext->glBeginQuery( GL_SAMPLES_PASSED_ARB, tr->_id );
Geometry::drawImplementation( renderInfo );
osg::Geometry::drawImplementation( renderInfo );
ext->glEndQuery( GL_SAMPLES_PASSED_ARB );
tr->_active = true;

View File

@@ -153,7 +153,7 @@ bool IntersectorGroup::containsIntersections()
IntersectionVisitor::IntersectionVisitor(Intersector* intersector, ReadCallback* readCallback)
{
// override the default node visitor mode.
setTraversalMode(NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
setTraversalMode(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
setIntersector(intersector);