]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture2d.cpp
Pass the resource collection to async loaders
[libs/gl.git] / source / texture2d.cpp
index 7cad81d92a5e44e2717bbaf88f1c35d166fa8dc3..28b07bfe614761cc800ede69abc237d40fb844e2 100644 (file)
@@ -136,7 +136,7 @@ void Texture2D::get_level_size(unsigned level, unsigned &w, unsigned &h)
                h = 1;
 }
 
-Resource::AsyncLoader *Texture2D::load(IO::Seekable &io)
+Resource::AsyncLoader *Texture2D::load(IO::Seekable &io, const Resources *)
 {
        return new AsyncLoader(*this, io);
 }