miPolyGlyphBlt: Delete redundant ValidateGC.
The caller is required to have validated the GC for the drawable before calling any ops, including PolyGlyphBlt. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
3fd963de27
commit
ccdf156890
|
@ -182,8 +182,6 @@ miPolyGlyphBlt(
|
||||||
0, 0, gWidth, gHeight,
|
0, 0, gWidth, gHeight,
|
||||||
0, XYBitmap, (char *)pb);
|
0, XYBitmap, (char *)pb);
|
||||||
|
|
||||||
if ((pGC->serialNumber) != (pDrawable->serialNumber))
|
|
||||||
ValidateGC(pDrawable, pGC);
|
|
||||||
(*pGC->ops->PushPixels)(pGC, pPixmap, pDrawable,
|
(*pGC->ops->PushPixels)(pGC, pPixmap, pDrawable,
|
||||||
gWidth, gHeight,
|
gWidth, gHeight,
|
||||||
x + pci->metrics.leftSideBearing,
|
x + pci->metrics.leftSideBearing,
|
||||||
|
|
Loading…
Reference in New Issue