-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I applied the patch,
Thx
but you will really need to allocate that thing dynamically. Reserving 256Kb for palette data is a bit too much (not to mention that MAX_PALETTES should be 65536 if I read the doc correctly).
Well you are right (and i don't have used 65535 as few games will use more than 256 palettes textures) I have done this way only temporary waiting to get palettes textures working. After that, i'll code pallette allocation on need (more better than a huge HeapAlloc of 655356 textures;) ) Regards, Raphael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+xueGp7NA3AmQTU4RAvszAKCO7UdgLUEz3YuK19XSUKwL2bDTDACbBQUv Tk7QVt2ncND/bbiYIEifFoA= =LLDk -----END PGP SIGNATURE-----