SDL_DisplayFormat() Segfault

hi!
when i try to convert a indexed BMP i always get a segmentation fault but
with RGBA pngs it works perfect.

How does SDL_DisplayFormat handles indexed BMP’s ?
Is it realy necessary to convert indexed BMP’s?

thanx–
Sent through GMX FreeMail - http://www.gmx.net

hi!
when i try to convert a indexed BMP i always get a segmentation fault but
with RGBA pngs it works perfect.

Can you send me the image at slouken at devolution.com, along with the code
that crashes?

Thanks,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

when i try to convert a indexed BMP i always get a segmentation fault but
with RGBA pngs it works perfect.

I’ve had no problems with indexed BMPs. Please post a minimal example that
exhibits this behaviour.

How does SDL_DisplayFormat handles indexed BMP’s ?
Is it realy necessary to convert indexed BMP’s?

Never necessary, but always a good idea for performance.

Sorry for wasting your time. it was my fault(stupid error in my program).–
Sent through GMX FreeMail - http://www.gmx.net