]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2d.cpp
Move the Resource function override of Texture classes into backend
[libs/gl.git] / source / core / texture2d.cpp
index 9b1c16ea120dbe6fe7d88c96f57dcfbfd386e79e..c9aab79a9cf16c5a2488af530f9d081a3e148547 100644 (file)
@@ -74,16 +74,6 @@ LinAl::Vector<unsigned, 2> Texture2D::get_level_size(unsigned level) const
        return LinAl::Vector<unsigned, 2>(w, h);
 }
 
-Resource::AsyncLoader *Texture2D::load(IO::Seekable &io, const Resources *)
-{
-       return create_async_loader(io);
-}
-
-uint64_t Texture2D::get_data_size() const
-{
-       return id ? width*height*get_pixel_size(format) : 0;
-}
-
 
 Texture2D::Loader::Loader(Texture2D &t):
        DataFile::DerivedObjectLoader<Texture2D, Texture::Loader>(t)