]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.h
Add some utility functions for textures
[libs/gl.git] / source / texturecube.h
index fd4670469fd1ab0500b607a35e723fe7e9205b65..62f1189aa541426ff86d0cdcb5593604155a2dea 100644 (file)
@@ -85,7 +85,8 @@ public:
 
        unsigned get_size() const { return size; }
 private:
-       unsigned get_level_size(unsigned);
+       unsigned get_n_levels() const;
+       unsigned get_level_size(unsigned) const;
 
 public:
        /** Translates indices into face constants.  Valid indices are between 0