]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.h
Add missing includes
[libs/gl.git] / source / texture1d.h
index 0ab9c6f74734974e2716a7e8843b1e535e40a7d3..5e6f254977f877a20565e131412bb333f6248ab4 100644 (file)
@@ -22,7 +22,6 @@ public:
        };
 
 private:
-       PixelFormat ifmt;
        unsigned width;
        unsigned allocated;
 
@@ -37,7 +36,8 @@ public:
        unsigned get_width() const { return width; }
 
 private:
-       unsigned get_level_size(unsigned);
+       unsigned get_n_levels() const;
+       unsigned get_level_size(unsigned) const;
 
 public:
        virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }