summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
Diffstat (limited to 'dix')
-rw-r--r--dix/impedgc.c1
-rw-r--r--dix/impedscrn.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/dix/impedgc.c b/dix/impedgc.c
index a2a7649cb..6baa3e7b2 100644
--- a/dix/impedgc.c
+++ b/dix/impedgc.c
@@ -195,6 +195,7 @@ impedPolyLines (DrawablePtr pDrawable,
DrvGCPtr pDrvGC;
impedGetDrawableDeltas(pDrawable, pPixmap, &x_off, &y_off);
+ fprintf(stderr,"poly lines %d %d\n", x_off, y_off);
if (mode == CoordModePrevious) {
ppt[0].x += x_off;
ppt[0].y += y_off;
diff --git a/dix/impedscrn.c b/dix/impedscrn.c
index cfc4749d4..b5d785a68 100644
--- a/dix/impedscrn.c
+++ b/dix/impedscrn.c
@@ -188,7 +188,6 @@ impedCreatePixmap (ScreenPtr pScreen, int width, int height, int depth,
if (!pPixmap)
return NULL;
- pPixmap->gpu[0] = pScreen->gpu.CreatePixmap(pScreen, width, height, depth, usage_hint);
pPixmap->drawable.type = DRAWABLE_PIXMAP;
pPixmap->drawable.class = 0;
pPixmap->drawable.pScreen = pScreen;
@@ -210,6 +209,9 @@ impedCreatePixmap (ScreenPtr pScreen, int width, int height, int depth,
pPixmap->usage_hint = usage_hint;
+
+ pPixmap->gpu[0] = pScreen->gpu.CreatePixmap(pScreen, width, height, depth, usage_hint, pPixmap);
+
return pPixmap;
}