[PATCH] miPolyGlyphBlt: Delete redundant ValidateGC.

Jamey Sharp jamey at minilop.net
Wed Jul 14 07:57:11 PDT 2010


The caller is required to have validated the GC for the drawable before
calling any ops, including PolyGlyphBlt.

Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 mi/miglblt.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/mi/miglblt.c b/mi/miglblt.c
index 13efb0c..9edb500 100644
--- a/mi/miglblt.c
+++ b/mi/miglblt.c
@@ -182,8 +182,6 @@ miPolyGlyphBlt(
 				0, 0, gWidth, gHeight, 
 				0, XYBitmap, (char *)pb);
 
-	    if ((pGC->serialNumber) != (pDrawable->serialNumber))
-		ValidateGC(pDrawable, pGC);
 	    (*pGC->ops->PushPixels)(pGC, pPixmap, pDrawable,
 			       gWidth, gHeight,
 			       x + pci->metrics.leftSideBearing,
-- 
1.7.0



More information about the xorg-devel mailing list