]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Refresh lighting and culling uniforms if the camera changes in pop_state
[libs/gl.git] / source / mesh.h
index 388d4d8806affd4d63901be8b7335a7bc7a85f55..e9feb675a0635ee67127b5b4cd0f426617be7855 100644 (file)
@@ -95,7 +95,8 @@ public:
 
        static void unbind();
 
-       virtual Resource::AsyncLoader *load(IO::Seekable &);
+       virtual int get_load_priority() const { return 1; }
+       virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
        virtual UInt64 get_data_size() const;
        virtual void unload();
 };