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