[SDL] Blit/Colorkey docs wrong

Alexander Sabourenkov llxxnntt at gmail.com
Wed Jan 27 12:41:30 PST 2016



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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160127/1c0450cb/attachment.htm>

More information about the SDL mailing list