void GlUtils::renderGeometry( const GeometryPtr & geometry, gl::ProgramPtr program) { program->use(); Stacks::lights().apply(program); Stacks::projection().apply(program); Stacks::modelview().apply(program); geometry->bindVertexArray(); geometry->draw(); VertexArray::unbind(); Program::clear(); }