X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture1d.h;h=506356c77676d98cea1a01d52d8a8f373a71f024;hb=refs%2Fheads%2Fmaster;hp=9957eeb466fedab882f10e84df69e46d2f9b55d2;hpb=744dced516f11d072dc6176fdf2df7e464b9782e;p=libs%2Fgl.git diff --git a/source/texture1d.h b/source/texture1d.h deleted file mode 100644 index 9957eeb4..00000000 --- a/source/texture1d.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef MSP_GL_TEXTURE1D_H_ -#define MSP_GL_TEXTURE1D_H_ - -#include "datatype.h" -#include "pixelformat.h" -#include "texture.h" - -namespace Msp { -namespace GL { - -class Texture1D: public Texture -{ -private: - PixelFormat ifmt; - unsigned width; - unsigned allocated; - -public: - Texture1D(); - - void storage(PixelFormat, unsigned); - void allocate(unsigned); - void image(unsigned, PixelFormat, DataType, const void *); - unsigned get_width() const { return width; } - -private: - unsigned get_level_size(unsigned); -}; - -} // namespace GL -} // namespace Msp - -#endif