- Timestamp:
- 08/02/04 14:19:50 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgdistortion/osgdistortion.cpp
r2688 r3214 186 186 // currently ignore lights in the scene graph itself.. 187 187 // will do later. 188 osgUtil::RenderStage* previous_stage = cv.getCurrentRenderBin()-> _stage;188 osgUtil::RenderStage* previous_stage = cv.getCurrentRenderBin()->getStage(); 189 189 190 190 // set up the background color and clear mask. … … 217 217 cv.setCurrentRenderBin(previousRenderBin); 218 218 219 if (rtts-> _renderGraphList.size()==0 && rtts->_bins.size()==0)219 if (rtts->getRenderGraphList().size()==0 && rtts->getRenderBinList().size()==0) 220 220 { 221 221 // getting to this point means that all the subgraph has been … … 244 244 // and the render to texture stage to the current stages 245 245 // dependancy list. 246 cv.getCurrentRenderBin()-> _stage->addToDependencyList(rtts.get());246 cv.getCurrentRenderBin()->getStage()->addToDependencyList(rtts.get()); 247 247 248 248 // if one exist attach texture to the RenderToTextureStage.
