]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture2d.h
Deprecate the mipmap_levels parameter in Texture
[libs/gl.git] / source / texture2d.h
index 2a49eca572ee06e25a7a770488b0639d6fd07fc9..aec31678b03a341efa7891ba0a0277f12cd9c624 100644 (file)
@@ -68,10 +68,12 @@ public:
 
        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 &, bool srgb = false);
+       virtual void image(const Graphics::Image &, unsigned lv, bool srgb = false);
+
+       using Texture::image;
 
 private:
-       void image(const Graphics::Image &, bool, bool);
+       void image(const Graphics::Image &, unsigned, bool, bool);
 
 public:
        unsigned get_width() const { return width; }