projects
/
platform
/
upstream
/
xorg-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a2d84
)
Minor optimization
author
David Reveman
<c99drn@cs.umu.se>
Wed, 27 Apr 2005 10:34:33 +0000
(10:34 +0000)
committer
David Reveman
<c99drn@cs.umu.se>
Wed, 27 Apr 2005 10:34:33 +0000
(10:34 +0000)
hw/xgl/xglfill.c
patch
|
blob
|
history
diff --git
a/hw/xgl/xglfill.c
b/hw/xgl/xglfill.c
index
4bce656
..
1bcf41d
100644
(file)
--- 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++;
}