diff options
author | alanh <alanh> | 2003-12-18 15:25:41 +0000 |
---|---|---|
committer | alanh <alanh> | 2003-12-18 15:25:41 +0000 |
commit | 192663a5c24be69584d2757629df3e1cf0699c7f (patch) | |
tree | 52ed8426b260ca3035a656e3a266dfabab90e3f8 | |
parent | 57fb1afb1edade8d71f3a7b1a1f0dec5dba06785 (diff) |
forgot to reset evenStipple flag
-rw-r--r-- | programs/Xserver/fb/fbgc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/programs/Xserver/fb/fbgc.c b/programs/Xserver/fb/fbgc.c index 9e6cd8260..9447f3087 100644 --- a/programs/Xserver/fb/fbgc.c +++ b/programs/Xserver/fb/fbgc.c @@ -21,7 +21,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ -/* $XFree86: xc/programs/Xserver/fb/fbgc.c,v 1.13 2003/12/09 12:12:43 alanh Exp $ */ +/* $XFree86: xc/programs/Xserver/fb/fbgc.c,v 1.14 2003/12/18 15:22:32 alanh Exp $ */ #include "fb.h" #ifdef IN_MODULE @@ -253,13 +253,15 @@ fbValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable) } if (changes & GCStipple) { + pPriv->evenStipple = FALSE; + if (pGC->stipple) { + + /* can we do an even stipple ?? */ if (FbEvenStip (pGC->stipple->drawable.width, pDrawable->bitsPerPixel) && (fbCanEvenStipple (pGC->stipple, pDrawable->bitsPerPixel))) pPriv->evenStipple = TRUE; - else - pPriv->evenStipple = FALSE; if (pGC->stipple->drawable.width * pDrawable->bitsPerPixel < FB_UNIT) fbPadPixmap (pGC->stipple); |