]> git.tdb.fi Git - libs/gl.git/commit
Delay opening the resource file until loading actually starts
authorMikko Rasa <tdb@tdb.fi>
Mon, 29 Sep 2014 16:40:48 +0000 (19:40 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 29 Sep 2014 16:40:48 +0000 (19:40 +0300)
commitc939385809062a26b23fad9be7c4062b1bf610a1
tree176247e05a15e7d33879afbcead1351ffd599169
parent19a6b5184fe057602a53b3f62f49e3ea2ae60a2e
Delay opening the resource file until loading actually starts

Opening it when the load is queued can cause large numbers of open files
to be created at once and dissipate slowly as the queue is processed.
source/resourcemanager.cpp
source/resourcemanager.h