mirror of
https://github.com/yawut/SDL.git
synced 2026-10-01 12:46:41 -05:00
Fixed compile error
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user