X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectinstance.cpp;h=666d90056774d4fc963fd7d38248f5e19f61f9f7;hb=e759062876ee7fc81d1c2f40818d5bf97898d53d;hp=80f44cd48ea35e45528d1f0b4f7b54c6dc0c3a6b;hpb=85e83ace47e5a9a8ae7263886255dd81afc69278;p=libs%2Fgl.git diff --git a/source/objectinstance.cpp b/source/objectinstance.cpp index 80f44cd4..666d9005 100644 --- a/source/objectinstance.cpp +++ b/source/objectinstance.cpp @@ -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