libsdl-org / sdlwiki

This is the raw contents of SDL's wiki. You can edit this through GitHub or at https://wiki.libsdl.org/ now!
https://wiki.libsdl.org/
79 stars 32 forks source link

Feedback on page SDL2/SDL_BlitSurface - which pixel will be copied? #576

Closed ekskirl closed 1 month ago

ekskirl commented 1 month ago

Hello, until I got it work I was a little bit confused about the description: "if SDL_SRCCOLORKEY set, only copy the pixels matching the source color key" becaus in my understatement this says to me, that not the other pixel will be blitted. Should it be: "if SDL_SRCCOLORKEY set, only copy the pixels don't matching the source color key"? Gettings from Germany, Brandenburg, Velten Ekkehard

slouken commented 1 month ago

Yep, that's totally wrong. Thanks for catching it!