X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.h;h=aec31678b03a341efa7891ba0a0277f12cd9c624;hb=aead6d04308d7873dc99aa4572ce1590a89ebcbd;hp=2a49eca572ee06e25a7a770488b0639d6fd07fc9;hpb=03d3984ecd2c4e7c38b6a62b4b7a81bab69f8d40;p=libs%2Fgl.git diff --git a/source/texture2d.h b/source/texture2d.h index 2a49eca5..aec31678 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -68,10 +68,12 @@ public: If srgb is true and storage is determined by this call, then an sRGB pixel format will be used. */ - virtual void image(const Graphics::Image &, bool srgb = false); + virtual void image(const Graphics::Image &, unsigned lv, bool srgb = false); + + using Texture::image; private: - void image(const Graphics::Image &, bool, bool); + void image(const Graphics::Image &, unsigned, bool, bool); public: unsigned get_width() const { return width; }