X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.h;h=c6654df69222859a0a284c468c9859a737127d8c;hb=be6ffe96ecb4707599fe1a6f620c348760213d46;hp=209cede5843535a40b888c872f6be88909fd8436;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/core/texture2d.h b/source/core/texture2d.h index 209cede5..c6654df6 100644 --- a/source/core/texture2d.h +++ b/source/core/texture2d.h @@ -61,8 +61,6 @@ public: image must match the defined storage. */ virtual void image(const Graphics::Image &, unsigned lv = 0); - using Texture::image; - unsigned get_width() const { return width; } unsigned get_height() const { return height; } @@ -72,7 +70,7 @@ private: public: virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0); - virtual std::uint64_t get_data_size() const; + virtual std::size_t get_data_size() const; using Texture2DBackend::unload; };