widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #10211
Re: [Merge] lp:~widelands-dev/widelands/fh1-multitexture into lp:widelands
I have now looked at the code for the TextureCache (which I didn't write) and it does indeed automatically drop the oldest entries to ensure that its size is not exceeded.
I have also added some asserts (to help track down the crash), and made the nullptr comparisons explicit (maybe this will make it go away).
--
https://code.launchpad.net/~widelands-dev/widelands/fh1-multitexture/+merge/323903
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/fh1-multitexture.
References