I'm working on a compressed texture patch. It's my first time trying to make a change to the engine, so I'm still trying to find my way around in their. I'm trying to get it to work when generating mip-maps, but it crashes somewhere in Copy32BitMipMap. Here's the patch file: http://www.mediafire.com/?wzu3ocwv8mst628
Would someone mind taking a look and telling me what I'm doing wrong?