]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture.h
Implement automatic unloading when a total size limit is exceeded
[libs/gl.git] / source / texture.h
index 5566dccb8c9a111f55336b59d6aa7b68d08c0370..79d79dbd68fbc8c8908b04f180501c6335b783ab 100644 (file)
@@ -162,6 +162,8 @@ public:
        static const Texture *current(unsigned = 0);
        static void unbind() { unbind_from(0); }
        static void unbind_from(unsigned);
+
+       virtual UInt64 get_data_size() const { return 0; }
 };
 
 } // namespace GL