Fix the Drawable2D sorting expression.
This commit is contained in:
parent
6360e0b357
commit
33312cf5bb
@ -144,7 +144,7 @@ protected:
|
||||
|
||||
inline bool CompareDrawable2Ds(Drawable2D* lhs, Drawable2D* rhs)
|
||||
{
|
||||
return lhs->GetLayer() < rhs->GetLayer() || lhs->GetOrderInLayer() < rhs->GetOrderInLayer() || (int)lhs < (int)rhs;
|
||||
return lhs->GetLayer() < rhs->GetLayer() || lhs->GetOrderInLayer() < rhs->GetOrderInLayer();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user