Blit/Colorkey docs wrong |
Alexander Sabourenkov
Guest
|
Hello.
http://wiki.libsdl.org/SDL_BlitSurface has it multiple times that:  ... if SDL_SRCCOLORKEY set, only copy the pixels matching the RGB values of the source color key ... (I think that was taken verbatim from SDL_surface.h) while the code is unambigously if ( Pixel != ckey ) {    ... do copying .... } Also there is no such thing as SDL_SRCCOLORKEY any more. Quite confusing, isn't it? -- ./lxnt |
|||||||||||
|