]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Depracate the srgb parameter of Texture::image functions
[libs/gl.git] / source / texture3d.h
index d67d03be62a1c413dd913e73e3092d1b682f7f29..1f50e056d8cb286d8e99b4c739f83e5f09c777bd 100644 (file)
@@ -72,11 +72,9 @@ 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.  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.
-
-       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);
+       divisible by its width.  Otherwise the image must match the defined
+       storage. */
+       virtual void image(const Graphics::Image &, unsigned = 0);
 
        using Texture::image;