- /** Uploads an image to the texture. If storage has not been defined, it
- will be set to match the image. In this case the image will be treated as
- a stack of square layers and its height must be divisible by its width.
- Otherwise the image must be compatible with 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, bool = false);
+ /** Updates the contents of the entire texture from an image. If storage
+ has not been defined, it will be set to match the image. In this case the
+ image will be treated as a stack of square layers and its height must be
+ divisible by its width. Otherwise the image must match the defined
+ storage. */
+ virtual void image(const Graphics::Image &, unsigned = 0);