]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture1d.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / texture1d.h
index 16c88a1830a969b9f7625d97b6690e4d99267d82..abe6c8879e5dbd07469bc1319e2fc2e6ac91230a 100644 (file)
@@ -29,7 +29,6 @@ public:
 
 private:
        unsigned width = 0;
-       unsigned levels = 0;
 
 public:
        /** Sets storage format and size and allocates memory for the texture.  If
@@ -49,7 +48,6 @@ public:
        unsigned get_width() const { return width; }
 
 private:
-       unsigned get_n_levels() const;
        unsigned get_level_size(unsigned) const;
 };