Thanks a lot. It worked perfectly!
I understand what the problem is now... thx to your help... No palette was
set for those surfaces so it just filled it with black.
Thank you very much.
Aurelien
sirfrom at morphriz.skynet.foo wrote in message
<87r8u9nyjc.fsf at morphriz.skynet.foo>...
>>I added the following for all the surfaces except screen and it worked
>fine. Since it's indexed mode it seems like it should work anyway but
>apparently not.
>file://mf>> SDL_SetPalette(szoom,
> SDL_LOGPAL|SDL_PHYSPAL,
> screen->format->palette->colors,
> 0,
> screen->format->palette->ncolors);
>>>>--
>Sigblock empty. By choice.