X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture1d.h;h=5e6f254977f877a20565e131412bb333f6248ab4;hp=0ab9c6f74734974e2716a7e8843b1e535e40a7d3;hb=975162f86071985913b59a835d38046e1c271594;hpb=4a6c595b4d954b6cf69c6388a43b2b66f84d8c0a diff --git a/source/texture1d.h b/source/texture1d.h index 0ab9c6f7..5e6f2549 100644 --- a/source/texture1d.h +++ b/source/texture1d.h @@ -22,7 +22,6 @@ public: }; private: - PixelFormat ifmt; unsigned width; unsigned allocated; @@ -37,7 +36,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; }