X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture3d.h;h=cf336e52b0227fb859d2125cb686f07d70db46b3;hp=55a0e3dbe8ec4ce214bdc56f5532655160965b58;hb=6b0a93110454cc8d84d0d9b9b29fe9d0ecbaa4d5;hpb=55dbeb5e04516699b8415104e346243d5e4c48c9 diff --git a/source/texture3d.h b/source/texture3d.h index 55a0e3db..cf336e52 100644 --- a/source/texture3d.h +++ b/source/texture3d.h @@ -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; }