]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2d.h
Remove some unused and unnecessary things
[libs/gl.git] / source / core / texture2d.h
index a2454b76b3e613dd552599a2e545d7aef4716d0a..6ae600e767acc2c7999d6523eba964db2d542f74 100644 (file)
@@ -32,12 +32,11 @@ public:
        };
 
 private:
-       unsigned width;
-       unsigned height;
-       unsigned levels;
+       unsigned width = 0;
+       unsigned height = 0;
+       unsigned levels = 0;
 
 public:
-       Texture2D(ResourceManager * = 0);
        virtual ~Texture2D();
 
        /** Defines storage structure for the texture.  If lv is zero, the number
@@ -62,8 +61,6 @@ public:
        image must match the defined storage. */
        virtual void image(const Graphics::Image &, unsigned lv = 0);
 
-       using Texture::image;
-
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }