Scrcolorkey

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi to all,
i have a problem.
color key is not working at all.
i am using a video mode. 800x600x32bit, all surfaces as SWSURFACE, i set the
colorkey but the blitting does not use colorkey at all.

Does anybod7 has any idea?


!
Willy Gardiol - @Willy_Gardiol
goemon.polito.it/~gardiol
Use linux for your freedom.

“Tutti hanno dei pregiudizi, solo
che i nostri sono giusti.”

  Stefano Bagnasco  (2002)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+VUpFQ9qolN/zUk4RAu60AJ4/Q39EyqjVCVwi/rB3s3opg7Rn+ACZAZmX
nYhrEpnEf3BpBv/7D8Doe7g=
=zl1C
-----END PGP SIGNATURE-----

wana post the code you tried?
Heres how it’s supposed to be done:

SDL_SetColorKey(surface, SDL_SRCCOLORKEY, SDL_MapRGB(surface->format, r, g,
b));

thats… all there is to it… not hard… but wana post some code?

m@_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus