Fix bad Color::operator== causing GIF frames to be merged incorrectly.
This commit is contained in:
parent
af82a1e423
commit
5556d4fd65
@ -26,7 +26,7 @@ namespace SMXGif
|
|||||||
}
|
}
|
||||||
bool operator==(const Color &rhs) const
|
bool operator==(const Color &rhs) const
|
||||||
{
|
{
|
||||||
return !memcmp(color, rhs.color, sizeof(*color));
|
return !memcmp(color, rhs.color, sizeof(color));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user