X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.h;h=9647ad3ed55c688a86c156dd11e3daacba687b9d;hb=b1c758a602262afad23e28ab68d62021a5b1257e;hp=674c778f9782116dce94ef4c663e1dda89931953;hpb=d2efbd8a32efa2a3ee8542efc846277af19d63e0;p=libs%2Fgl.git diff --git a/source/texture2d.h b/source/texture2d.h index 674c778f..9647ad3e 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -3,7 +3,6 @@ #include #include -#include "resource.h" #include "texture.h" namespace Msp { @@ -27,7 +26,6 @@ public: void raw_data(const std::string &); void storage(PixelFormat, unsigned, unsigned); - void storage_b(PixelFormat, unsigned, unsigned, unsigned); }; private: @@ -77,7 +75,8 @@ public: unsigned get_height() const { return height; } private: - void get_level_size(unsigned, unsigned &, unsigned &); + unsigned get_n_levels() const; + void get_level_size(unsigned, unsigned &, unsigned &) const; public: virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);