From 5ff9e58bef668c1279c5e253795711a1e118aaa1 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Sat, 12 Jun 2010 08:51:04 -0700 Subject: [PATCH] fb: Delete unused oneRect private field. Signed-off-by: Jamey Sharp Reviewed-by: Mikhail Gusarov --- fb/fb.h | 1 - fb/fbgc.c | 1 - 2 files changed, 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