Michel Dänzer wrote: > On Tue, 2005-10-25 at 14:27 +0200, Samuel Mimram wrote: > >>Michel Daenzer wrote: >> >>>** Warning ** : TextureManager::loadTexture() : texture >>>'Textures/UI/Loading.png' not found or invalid >>>fatal exception : invalid or missing texture file >>> >>>I tracked down the problem to an endianness bug when reading .dat files. The >>>attached patch makes it work fine for me. >> >>Many thanks for the patch. I'll integrate it soon to the package and >>make sure that it gets integrated upstream. > > Thanks for doing that, but unfortunately, what upstream integrated > doesn't fix the problem because LITTLE_ENDIAN is defined as well, at > least on powerpc. As I intentionally made the patch endianness agnostic, > why not just use that code everywhere? New patch to that effect > attached.
Argh. I did not check if the #define were correctly handled... I'll apply your updated patch soon. Thanks. Cheers, Samuel.

