Minor optimization

This commit is contained in:
David Reveman 2005-04-27 10:34:33 +00:00
parent 28a2d841ce
commit 246b14cb29

View File

@ -376,7 +376,10 @@ xglFillLine (DrawablePtr pDrawable,
while (nptTmp--)
{
if (pptTmp->x != pt.x && pptTmp->y != pt.y)
{
horizontalAndVertical = FALSE;
break;
}
pt = *pptTmp++;
}