summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-06-12 08:51:04 -0700
committerJamey Sharp <jamey@minilop.net>2010-09-13 15:55:16 -0700
commit5ff9e58bef668c1279c5e253795711a1e118aaa1 (patch)
tree0e07a274f070d17f3ade20f3955aef171ff27802
parente99bbfa0a24ec038b88e81881133a676bf63580e (diff)
fb: Delete unused oneRect private field.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-rw-r--r--fb/fb.h1
-rw-r--r--fb/fbgc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/fb/fb.h b/fb/fb.h
index a06f98be2..c290ebff8 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -666,7 +666,6 @@ typedef struct {
FbBits bgand, bgxor; /* for stipples */
FbBits fg, bg, pm; /* expanded and filled */
unsigned int dashLength; /* total of all dash elements */
- unsigned char oneRect; /* clip list is single rectangle */
unsigned char evenStipple; /* stipple is even */
unsigned char bpp; /* current drawable bpp */
} FbGCPrivRec, *FbGCPrivPtr;
diff --git a/fb/fbgc.c b/fb/fbgc.c
index e3e923675..2568698f7 100644
--- a/fb/fbgc.c
+++ b/fb/fbgc.c
@@ -213,7 +213,6 @@ fbValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
)
{
miComputeCompositeClip (pGC, pDrawable);
- pPriv->oneRect = RegionNumRects(fbGetCompositeClip(pGC)) == 1;
}
#ifdef FB_24_32BIT