mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6938 from CaryZheng/v3
Simplify BlendFunc operator< judgement
This commit is contained in:
commit
716769241a
|
@ -328,7 +328,7 @@ struct BlendFunc
|
|||
|
||||
bool operator<(const BlendFunc &a) const
|
||||
{
|
||||
return src < a.src || (src < a.src && dst < a.dst);
|
||||
return src < a.src || (src == a.src && dst < a.dst);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue