diff options
author | David Reveman <c99drn@cs.umu.se> | 2005-04-27 10:34:33 +0000 |
---|---|---|
committer | David Reveman <c99drn@cs.umu.se> | 2005-04-27 10:34:33 +0000 |
commit | 246b14cb29250517912d9c661ab037a953f4bbf4 (patch) | |
tree | 03b07dae5b84b77869b16be15507cb523adb97d9 /hw/xgl | |
parent | 28a2d841cee596c0242b1649587d6b180529c0ef (diff) |
Minor optimization
Diffstat (limited to 'hw/xgl')
-rw-r--r-- | hw/xgl/xglfill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xgl/xglfill.c b/hw/xgl/xglfill.c index 4bce65690..1bcf41daa 100644 --- a/hw/xgl/xglfill.c +++ b/hw/xgl/xglfill.c @@ -376,7 +376,10 @@ xglFillLine (DrawablePtr pDrawable, while (nptTmp--) { if (pptTmp->x != pt.x && pptTmp->y != pt.y) + { horizontalAndVertical = FALSE; + break; + } pt = *pptTmp++; } |