summaryrefslogtreecommitdiff
path: root/dix/glyphcurs.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/glyphcurs.c')
-rw-r--r--dix/glyphcurs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dix/glyphcurs.c b/dix/glyphcurs.c
index 9004cb152..2b305068c 100644
--- a/dix/glyphcurs.c
+++ b/dix/glyphcurs.c
@@ -58,6 +58,7 @@ SOFTWARE.
#include "cursorstr.h"
#include "opaque.h"
#include "servermd.h"
+#include "pixmapstr.h"
/*
get the bits out of the font in a portable way. to avoid
@@ -125,8 +126,8 @@ ServerBitsFromGlyph(FontPtr pfont, unsigned ch, CursorMetricPtr cm,
ValidateGC((DrawablePtr) ppix, pGC);
(*pGC->ops->PolyText16) ((DrawablePtr) ppix, pGC, cm->xhot, cm->yhot,
1, (unsigned short *) char2b);
- (*pScreen->GetImage) ((DrawablePtr) ppix, 0, 0, cm->width, cm->height,
- XYPixmap, 1, pbits);
+ ppix->drawable.ops->GetImage((DrawablePtr) ppix, 0, 0,
+ cm->width, cm->height, XYPixmap, 1, pbits);
*ppbits = (unsigned char *) pbits;
FreeScratchGC(pGC);
(*pScreen->DestroyPixmap) (ppix);