/** 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; }