Skip to content

Commit

Permalink
Fixed glStencilMask setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed May 27, 2009
1 parent 0521ef5 commit c9f1e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgUtil/RenderStage.cpp
Expand Up @@ -1230,7 +1230,7 @@ void RenderStage::drawImplementation(osg::RenderInfo& renderInfo,RenderLeaf*& pr
if (_clearMask & GL_STENCIL_BUFFER_BIT)
{
glClearStencil( _clearStencil);
glStencilMask ( GL_TRUE );
glStencilMask ( ~0u );
state.haveAppliedAttribute( osg::StateAttribute::STENCIL );
}

Expand Down

0 comments on commit c9f1e87

Please sign in to comment.