Fixed compile error

This commit is contained in:
Sam Lantinga 2013-08-08 02:34:21 -07:00
parent 780f3a273d
commit 5a167e03cd

View file

@ -286,7 +286,6 @@ SDL_ConvertColorkeyToAlpha(SDL_Surface * surface)
spot = row;
for (x = surface->w; x--;) {
if ((*spot & mask) == ckey) {
if (*spot == ckey) {
*spot &= mask;
}
++spot;