Fixed compile error
This commit is contained in:
parent
780f3a273d
commit
5a167e03cd
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue