X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture2d.h;h=7553b6b703c944a2144e989bf605d41b9ae2295c;hp=b7070e8f78093c1e4543b65feb4fafab0720888d;hb=635e5dc;hpb=d0a888978ab0c2226ed5961c736c7cac551e79b1 diff --git a/source/texture2d.h b/source/texture2d.h index b7070e8f..7553b6b7 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -72,16 +72,13 @@ public: /** Updates the contents of the entire texture from an image. If storage has not been defined, it will be set to match the image. Otherwise the - image must match the defined storage. - - 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 &, unsigned lv, bool srgb = false); + image must match the defined storage. */ + virtual void image(const Graphics::Image &, unsigned lv = 0); using Texture::image; private: - void image(const Graphics::Image &, unsigned, bool, bool); + void image(const Graphics::Image &, unsigned, bool); public: unsigned get_width() const { return width; }