]> git.tdb.fi Git - libs/gl.git/blobdiff - source/orderedscene.h
Add a rendering supervisor class
[libs/gl.git] / source / orderedscene.h
index 6bb12192a851877887dd1b21dc1100c4554a7e18..88321ec93dd5d18ff6203a6cd59ac61a38229121 100644 (file)
@@ -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
 */
 
@@ -32,7 +32,8 @@ public:
        void insert(unsigned, const Renderable &);
        void insert_after(const Renderable &, const Renderable &);
 
-       virtual void render(const Tag & = Tag()) const;
+       using Scene::render;
+       virtual void render(Renderer &, const Tag & = Tag()) const;
 };
 
 } // namespace GL