-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007-2008, 2010-2011 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include "object.h"
#include "objectinstance.h"
#include "instancescene.h"
{
for(InstanceMap::const_iterator i=renderables.begin(); i!=renderables.end(); ++i)
for(RenderableSet::const_iterator j=i->second.begin(); j!=i->second.end(); ++j)
- (*j)->render(renderer, tag);
+ renderer.render(**j, tag);
}
} // namespace GL