Changeset 11367 for OpenSceneGraph/trunk/examples/osgfpdepth/osgfpdepth.cpp
- Timestamp:
- 04/23/10 10:58:57 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgfpdepth/osgfpdepth.cpp
r11360 r11367 404 404 textInverted = new Geode; 405 405 textInverted->addDrawable(inverted); 406 textInverted->setNodeMask(~0 );406 textInverted->setNodeMask(~0u); 407 407 textProjection->addChild(textInverted); 408 408 textProjection->getOrCreateStateSet()->setRenderBinDetails(11, "RenderBin"); … … 445 445 || (validConfigs[currentConfig].depthSamples == 0 446 446 && validConfigs[currentConfig].coverageSamples == 0)) 447 textNotAvailable->setNodeMask(0 );447 textNotAvailable->setNodeMask(0u); 448 448 else 449 textNotAvailable->setNodeMask(~0 );449 textNotAvailable->setNodeMask(~0u); 450 450 } 451 451 … … 554 554 depth->setFunction(Depth::LESS); 555 555 depth->setRange(0.0f, 1.0f); 556 _appState->textInverted->setNodeMask(0 );556 _appState->textInverted->setNodeMask(0u); 557 557 } 558 558 else … … 561 561 depth->setFunction(Depth::GEQUAL); 562 562 depth->setRange(1.0f, 0.0f); 563 _appState->textInverted->setNodeMask(~0 );563 _appState->textInverted->setNodeMask(~0u); 564 564 } 565 565 return true;
