check for duplicates should not itself assert.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Idac84099ef3f857367ee508a5e64bb2297b0e451
This commit is contained in:
Michael Meeks 2022-06-16 10:48:28 +01:00
parent 04a8462043
commit b3f654e940

View file

@ -407,10 +407,7 @@ public:
const auto &b = _tiles[j];
if (a.getTilePosX() == b.getTilePosX() &&
a.getTilePosY() == b.getTilePosY())
{
assert(false && "duplicate entries in tilecombine");
return true;
}
}
}
return false;