Fixed compile error

This commit is contained in:
Sam Lantinga
2013-08-08 02:34:21 -07:00
parent dbc779cbcb
commit 66d3386956

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;