]> git.tdb.fi Git - libs/gl.git/blobdiff - source/object.cpp
Throw an exception if Texture*::allocate is called before storage
[libs/gl.git] / source / object.cpp
index 4a2e5df13f745c82092feb4869eefeb828d4cdba..bdb292bb64e4721208c7bed12dca73bb30d03433 100644 (file)
@@ -30,6 +30,8 @@ Object::Object(const Mesh *m, const Technique *t):
        set_technique(t);
 }
 
+// TODO should have copy-c'tor to set watch on lod0 mesh if necessary
+
 Object::~Object()
 {
        if(lods[0].mesh && lod0_watched)