karlb at gmx.net
Thu Mar 21 06:02:01 PST 2002
> The SetColorKey function seems pretty straight forward, but my blitted
> bitmaps still show the black area around the actual image of the bmp. I
> set the colorkey to black, ie.
> I also have the alpha active, ie. SDL_SetAlpha(bmp,
> SDL_SRCALPHA|SDL_RLEACCEL, 255);
This could be the problem. AFAIK, you can only use EITHER alpha values
OR a color key, not both at the same time. If this doesn help, send me
an example file and I'll have a look at it.
More information about the SDL