]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.h
Pass the resource collection to async loaders
[libs/gl.git] / source / texturecube.h
index fe343c7390630de1ad6fdc9a1f3a2cbc3ebfcdda..4530a97ac8525d4719af598c9ed1757edfbbf47b 100644 (file)
@@ -103,7 +103,7 @@ public:
        /** Returns a vector pointing to the center a texel. */
        Vector3 get_texel_direction(TextureCubeFace, unsigned, unsigned);
 
-       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() { }
 };