fixes minor rendering bug.

This commit is contained in:
rachytski 2011-12-16 17:41:43 +04:00 committed by Alex Zolotarev
parent 897f524154
commit 2bd553cb08

View file

@ -197,8 +197,8 @@ void RenderQueueRoutine::getUpdateAreas(
areas.push_back(newRect);
else
{
int sx = newRect.SizeX() / 5;
int sy = newRect.SizeY() / 5;
int sx = ( newRect.SizeX() + 4 ) / 5;
int sy = ( newRect.SizeY() + 4 ) / 5;
m2::RectI r(0, 0, sx, sy);
areas.push_back(m2::Offset(r, 2 * sx, 2 * sy));