]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.h
Add some accessors to View
[libs/gl.git] / source / texture1d.h
index 9957eeb466fedab882f10e84df69e46d2f9b55d2..20b1d35cbf88b8ead6421902493e18d3d97aea19 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef MSP_GL_TEXTURE1D_H_
 #define MSP_GL_TEXTURE1D_H_
 
-#include "datatype.h"
-#include "pixelformat.h"
 #include "texture.h"
 
 namespace Msp {
@@ -25,6 +23,11 @@ public:
 
 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