]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Give meshes a higher priority when loading
[libs/gl.git] / source / mesh.h
index 7e455cd97211638938daa191b3281925fde1fb31..e9feb675a0635ee67127b5b4cd0f426617be7855 100644 (file)
@@ -95,6 +95,7 @@ public:
 
        static void unbind();
 
+       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();