]> git.tdb.fi Git - libs/gl.git/commitdiff
Change ManagedResource::load_priority to int
authorMikko Rasa <tdb@tdb.fi>
Fri, 17 Sep 2021 17:31:48 +0000 (20:31 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 17 Sep 2021 17:32:20 +0000 (20:32 +0300)
For unknown reasons it was made bool in 574abfb even though
Resource::get_load_priority returns an int.

source/resources/resourcemanager.h

index cf34a8250f2b8cb8c92ba4d5d97842496fbe3797..ba4f39a9461668cbe4912a9f2d8afe5a8ee38e97 100644 (file)
@@ -56,7 +56,7 @@ private:
 
                Resource *resource;
                ResourceLocation location;
-               bool load_priority;
+               int load_priority;
                IO::Seekable *io;
                Resource::AsyncLoader *loader;
                State state;