X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftexture2d.cpp;h=28b07bfe614761cc800ede69abc237d40fb844e2;hb=cabb833e9b4ca10b9f350f3be6c351dce6a66822;hp=7cad81d92a5e44e2717bbaf88f1c35d166fa8dc3;hpb=3535b65a6523abe89f3e008c8c885fcdd64a97ad;p=libs%2Fgl.git diff --git a/source/texture2d.cpp b/source/texture2d.cpp index 7cad81d9..28b07bfe 100644 --- a/source/texture2d.cpp +++ b/source/texture2d.cpp @@ -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); }