]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / texture1d.h
diff --git a/source/texture1d.h b/source/texture1d.h
deleted file mode 100644 (file)
index 20b1d35..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef MSP_GL_TEXTURE1D_H_
-#define MSP_GL_TEXTURE1D_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);
-
-public:
-       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
-       virtual UInt64 get_data_size() const;
-       virtual void unload() { }
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif