Minor optimization
This commit is contained in:
parent
28a2d841ce
commit
246b14cb29
|
@ -376,7 +376,10 @@ xglFillLine (DrawablePtr pDrawable,
|
||||||
while (nptTmp--)
|
while (nptTmp--)
|
||||||
{
|
{
|
||||||
if (pptTmp->x != pt.x && pptTmp->y != pt.y)
|
if (pptTmp->x != pt.x && pptTmp->y != pt.y)
|
||||||
|
{
|
||||||
horizontalAndVertical = FALSE;
|
horizontalAndVertical = FALSE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
pt = *pptTmp++;
|
pt = *pptTmp++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue