]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.h
Visit the rest of an iteration statement in NodeRemover
[libs/gl.git] / source / texture1d.h
index d75167b1f3215b2402c25c0825f47fa8886c2ed3..506356c77676d98cea1a01d52d8a8f373a71f024 100644 (file)
@@ -22,14 +22,14 @@ public:
        };
 
 private:
-       PixelFormat ifmt;
        unsigned width;
+       unsigned levels;
        unsigned allocated;
 
 public:
        Texture1D();
 
-       void storage(PixelFormat, unsigned);
+       void storage(PixelFormat, unsigned, unsigned = 0);
        void allocate(unsigned);
        void image(unsigned, PixelFormat, DataType, const void *);
        void sub_image(unsigned, int, unsigned, PixelFormat, DataType, const void *);