X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.h;h=71e04b576f2b62aa8a93d4c154a3258a596f2bc1;hb=b345b919f572b35042d7c50291422f2f917e5a08;hp=eba3286fee15fddce63b67e503f551990b0bf65d;hpb=4d7f66ea28c788e12f700216b9c53af9e71b8390;p=libs%2Fgl.git diff --git a/source/texture2d.h b/source/texture2d.h index eba3286f..71e04b57 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -43,6 +43,7 @@ private: public: Texture2D(ResourceManager * = 0); + virtual ~Texture2D(); /** Defines storage structure for the texture. Must be called before an image can be uploaded. Once storage is defined, it can't be changed. */ @@ -85,7 +86,7 @@ private: void get_level_size(unsigned, unsigned &, unsigned &); public: - virtual Resource::AsyncLoader *load(IO::Seekable &); + virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0); virtual UInt64 get_data_size() const; virtual void unload(); };