https://bitbucket.org/sinbad/ogre/commi ... 1b2838973d
Instructions are in OgrePsoCacheHelper.h comments
- Can anyone test it?
- I did not test this code! At least not yet. So it's possible it could not work on first try or crash. Though unlikely because the code was very simple, but if I screwed up, it's possibly I screwed in the '<' operator or I missed some explicit padding (without it, memcmp may not work as intended due to two seemingly identical structs not being considered identical because of their padded bytes containing garbage)
- The short term goal is that once this is ironed out, it gets into main 2.1-pso branch and then immediately after the 2.1-pso branch merges with 2.1. The lack of this functionality is the only reason the PSO and the regular branch haven't been merged yet.