]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/instancescene.h
Remove default sampler from Texture
[libs/gl.git] / source / render / instancescene.h
index a5ac2cd1c743e9fd250d5489d3e13c5902d552a7..ae9b637b8560543cda0b83e625507e4d9dd5e0be 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <map>
 #include <set>
+#include <msp/core/attributes.h>
 #include <msp/core/inttypes.h>
 #include "scene.h"
 
@@ -14,7 +15,7 @@ A Scene optimized for rendering instanced Renderables, such as ObjectInstances.
 All Renderables with the same instance key are rendered consecutively; within
 the same key rendering order is unspecified.
 */
-class InstanceScene: public Scene
+class DEPRECATED InstanceScene: public Scene
 {
 private:
        typedef std::set<Renderable *> RenderableSet;
@@ -29,7 +30,7 @@ public:
        virtual void setup_frame(Renderer &);
        virtual void finish_frame();
 
-       virtual void render(Renderer &, const Tag &tag = Tag()) const;
+       virtual void render(Renderer &, Tag tag = Tag()) const;
 };
 
 } // namespace GL