Skip to content

Commit

Permalink
From Paul Martz, typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Jul 23, 2008
1 parent bfcc747 commit 86ca086
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/osg/OcclusionQueryNode.cpp
Expand Up @@ -284,7 +284,7 @@ struct ClearQueriesCallback : public osg::Camera::DrawCallback
{
if (!_rqcb)
{
osg::notify( osg::FATAL ) << "oagOQ: CQCB: Invalid RQCB." << std::endl;
osg::notify( osg::FATAL ) << "osgOQ: CQCB: Invalid RQCB." << std::endl;
return;
}
_rqcb->reset();
Expand Down Expand Up @@ -365,7 +365,7 @@ QueryGeometry::drawImplementation( osg::RenderInfo& renderInfo ) const
RetrieveQueriesCallback* >( cam->getPostDrawCallback() );
if (!rqcb)
{
osg::notify( osg::FATAL ) << "oagOQ: QG: Invalid RQCB." << std::endl;
osg::notify( osg::FATAL ) << "osgOQ: QG: Invalid RQCB." << std::endl;
return;
}
rqcb->add( tr );
Expand All @@ -380,7 +380,7 @@ QueryGeometry::drawImplementation( osg::RenderInfo& renderInfo ) const
}

osg::notify( osg::DEBUG_INFO ) <<
"oagOQ: QG: Querying for: " << _oqnName << std::endl;
"osgOQ: QG: Querying for: " << _oqnName << std::endl;

ext->glBeginQuery( GL_SAMPLES_PASSED_ARB, tr->_id );
osg::Geometry::drawImplementation( renderInfo );
Expand Down
8 changes: 4 additions & 4 deletions src/osgUtil/CullVisitor.cpp
Expand Up @@ -1344,10 +1344,10 @@ void CullVisitor::apply(osg::Camera& camera)


// set up to charge the same PositionalStateContainer is the parent previous stage.
osg::Matrix inhertiedMVtolocalMV;
inhertiedMVtolocalMV.invert(originalModelView);
inhertiedMVtolocalMV.postMult(*getModelViewMatrix());
rtts->setInheritedPositionalStateContainerMatrix(inhertiedMVtolocalMV);
osg::Matrix inheritedMVtolocalMV;
inheritedMVtolocalMV.invert(originalModelView);
inheritedMVtolocalMV.postMult(*getModelViewMatrix());
rtts->setInheritedPositionalStateContainerMatrix(inheritedMVtolocalMV);
rtts->setInheritedPositionalStateContainer(previous_stage->getPositionalStateContainer());

// record the render bin, to be restored after creation
Expand Down

0 comments on commit 86ca086

Please sign in to comment.