When the texture freelist is too large, cut from the back, not the front.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 17 Jun 2014 19:54:28 +0000 (21:54 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 17 Jun 2014 19:54:28 +0000 (21:54 +0200)
commit599d6cf4bf3f7d063bf96dd626ff9fb1574fe032
tree3ae757efa01a58612f85e1c7681df41349c76ba7
parent7d51b32062d91ccf46434568a75c5e91805c4750
When the texture freelist is too large, cut from the back, not the front.

All the other freelists had this right, but the texture freelist would
start pruning the _newest_ entries, which obviously gave poor performance.

Patch by Christophe Thommeret.
resource_pool.cpp