X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftexture2d.h;h=7553b6b703c944a2144e989bf605d41b9ae2295c;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hp=b7070e8f78093c1e4543b65feb4fafab0720888d;hpb=2ba5af95fb7341b0e6b212e28d03208c6747aae5;p=libs%2Fgl.git 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; }