]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.h
Add some utility functions for textures
[libs/gl.git] / source / texture1d.h
index 0ab9c6f74734974e2716a7e8843b1e535e40a7d3..d75167b1f3215b2402c25c0825f47fa8886c2ed3 100644 (file)
@@ -37,7 +37,8 @@ public:
        unsigned get_width() const { return width; }
 
 private:
-       unsigned get_level_size(unsigned);
+       unsigned get_n_levels() const;
+       unsigned get_level_size(unsigned) const;
 
 public:
        virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }