]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Minor fixes to texture anisotropy handling
[libs/gl.git] / source / texture3d.h
index 55a0e3dbe8ec4ce214bdc56f5532655160965b58..cf336e52b0227fb859d2125cb686f07d70db46b3 100644 (file)
@@ -27,7 +27,6 @@ public:
        };
 
 private:
-       PixelFormat ifmt;
        unsigned width;
        unsigned height;
        unsigned depth;
@@ -85,7 +84,8 @@ public:
        unsigned get_height() const { return height; }
        unsigned get_depth() const { return depth; }
 protected:
-       void get_level_size(unsigned, unsigned &, unsigned &, unsigned &);
+       unsigned get_n_levels() const;
+       void get_level_size(unsigned, unsigned &, unsigned &, unsigned &) const;
 
 public:
        virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }