]> git.tdb.fi Git - libs/gl.git/blobdiff - source/object.h
Rework Bind and enable it to restore the old binding
[libs/gl.git] / source / object.h
index bff41bf108e3f153fb6383f8fd09eb8dc91ec3bc..2b5f4a850d8aa7b483fde3cf1eb932d4c9efc9e2 100644 (file)
@@ -82,7 +82,7 @@ public:
                if(!pass)
                        return;
 
-               Bind bind(*pass);
+               Bind bind(pass);
                for(Iter i=begin; i!=end; ++i)
                        render_instance(**i, tag);
        }