X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fsimplescene.cpp;h=f5947707a95bef5b008f332f209ab4dc8117852a;hp=b410374e68de5b18b7e52ae10c45fc083a03903a;hb=25c81b4953dd38993250321b9407ce8b0139cbeb;hpb=d51a234320449909eb34c802faa1f0c516ef70a0 diff --git a/source/simplescene.cpp b/source/simplescene.cpp index b410374e..f5947707 100644 --- a/source/simplescene.cpp +++ b/source/simplescene.cpp @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspgl -Copyright © 2010 Mikko Rasa, Mikkosoft Productions +Copyright © 2010-2011 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -20,10 +20,10 @@ void SimpleScene::remove(const Renderable &r) renderables.erase(&r); } -void SimpleScene::render(const Tag &tag) const +void SimpleScene::render(Renderer &renderer, const Tag &tag) const { for(RenderableSet::const_iterator i=renderables.begin(); i!=renderables.end(); ++i) - (*i)->render(tag); + (*i)->render(renderer, tag); } } // namespace GL