]> git.tdb.fi Git - libs/gl.git/blobdiff - source/instancescene.h
Add a rendering supervisor class
[libs/gl.git] / source / instancescene.h
index 1f79d767ba0d69cbb48798a820e0f8900792b01b..55bd266d7afbd80ea77dabbb725b620b14b7c1de 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgl
-Copyright © 2007-2008, 2010  Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2008, 2010-2011  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -36,7 +36,8 @@ public:
        virtual void add(const Renderable &);
        virtual void remove(const Renderable &);
 
-       virtual void render(const Tag &tag = Tag()) const;
+       using Scene::render;
+       virtual void render(Renderer &, const Tag &tag = Tag()) const;
 };
 
 } // namespace GL