|
|
Am Donnerstag, dem 19. Nov 2009 schrieb Tabris:
> I call this function once with the 2nd tile, then again with the first one.
> So the overlap i should see the first tile and then the 2nd through the hole
> of the first one.
As far as I can see, you simply copy the pixels. So the pixeldata of the
second one simply overwrites the first data. They are not merged in your
code.
Use SDL_BlitSurface. That should handle the Alpha channel...
--
AKFoerster
_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
|
|