]> git.tdb.fi Git - libs/gl.git/blobdiff - source/objectinstance.cpp
Drop Renderable::has_pass; renderables are now expected to ignore unknown passes
[libs/gl.git] / source / objectinstance.cpp
index 80f44cd48ea35e45528d1f0b4f7b54c6dc0c3a6b..666d90056774d4fc963fd7d38248f5e19f61f9f7 100644 (file)
@@ -9,6 +9,8 @@ Distributed under the LGPL
 #include "objectinstance.h"
 #include "programdata.h"
 
+using namespace std;
+
 namespace Msp {
 namespace GL {
 
@@ -16,9 +18,9 @@ ObjectInstance::ObjectInstance(const Object &obj):
        object(obj)
 { }
 
-void ObjectInstance::render() const
+void ObjectInstance::render(const Tag &tag) const
 {
-       object.render(this);
+       object.render(*this, tag);
 }
 
 } // namespace GL