X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture1d.h;h=e77f6484242d1b177a5acff236245fd7ad6988bf;hb=052b85720688900bc36f8844a94269cb1c0cdd52;hp=d8dbb017bd6882c0a941e770e660b1dd9394be1a;hpb=6065f6622cc275dc0b20baaf7c267e71169d18f3;p=libs%2Fgl.git diff --git a/source/core/texture1d.h b/source/core/texture1d.h index d8dbb017..e77f6484 100644 --- a/source/core/texture1d.h +++ b/source/core/texture1d.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_TEXTURE1D_H_ #define MSP_GL_TEXTURE1D_H_ +#include #include "texture.h" namespace Msp { @@ -25,14 +26,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);