]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture1d.h
Remove the separate allocation step from textures and buffers
[libs/gl.git] / source / core / texture1d.h
index d8dbb017bd6882c0a941e770e660b1dd9394be1a..241808c1656aa034a4383a61e07897a658453728 100644 (file)
@@ -25,14 +25,12 @@ public:
 private:
        unsigned width;
        unsigned levels;
-       unsigned allocated;
 
 public:
        Texture1D();
 
        void storage(PixelFormat, unsigned, unsigned = 0);
 
-       void allocate(unsigned);
        void image(unsigned, const void *);
        void sub_image(unsigned, int, unsigned, const void *);
        virtual void image(const Graphics::Image &, unsigned = 0);