Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback

This commit is contained in:
Robert Osfield
2007-03-28 11:30:38 +00:00
parent 7fb38ff42f
commit 7fc714ada1
31 changed files with 83 additions and 86 deletions

View File

@@ -112,8 +112,10 @@ void ConnectedParticleSystem::reuseParticle(int particleIndex)
}
void ConnectedParticleSystem::drawImplementation(osg::State& state) const
void ConnectedParticleSystem::drawImplementation(osg::RenderInfo& renderInfo) const
{
osg::State& state = *renderInfo.getState();
OpenThreads::ScopedReadLock lock(_readWriteMutex);
const Particle* particle = (_startParticle != Particle::INVALID_INDEX) ? &_particles[_startParticle] : 0;