Further migration to using RenderInfo

This commit is contained in:
Robert Osfield
2006-11-14 12:51:31 +00:00
parent b5bb541cca
commit d0cc014f1b
11 changed files with 45 additions and 34 deletions

View File

@@ -199,13 +199,13 @@ BoundingSphere Geode::computeBound() const
return bsphere;
}
void Geode::compileDrawables(State& state)
void Geode::compileDrawables(RenderInfo& renderInfo)
{
for(DrawableList::iterator itr = _drawables.begin();
itr!=_drawables.end();
++itr)
{
(*itr)->compileGLObjects(state);
(*itr)->compileGLObjects(renderInfo);
}
}