mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 16:58:03 +02:00
Minor optimization
This commit is contained in:
parent
28a2d841ce
commit
246b14cb29
1 changed files with 3 additions and 0 deletions
|
|
@ -376,7 +376,10 @@ xglFillLine (DrawablePtr pDrawable,
|
|||
while (nptTmp--)
|
||||
{
|
||||
if (pptTmp->x != pt.x && pptTmp->y != pt.y)
|
||||
{
|
||||
horizontalAndVertical = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
pt = *pptTmp++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue