]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.h
Use UNSIGNED_SHORT for allocating DEPTH_COMPONENT textures
[libs/gl.git] / source / texture1d.h
index ea673c3b8b8a606326e78963cdbe30b35fb3cc50..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 {
@@ -27,7 +25,7 @@ private:
        unsigned get_level_size(unsigned);
 
 public:
-       virtual AsyncLoader *load(IO::Seekable &) { return 0; }
+       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
        virtual UInt64 get_data_size() const;
        virtual void unload() { }
 };