st/xorg: Null devPrivate.ptr when unmapping
authorJakob Bornecrantz <jakob@vmware.com>
Fri, 28 Aug 2009 14:56:02 +0000 (16:56 +0200)
committerJakob Bornecrantz <jakob@vmware.com>
Fri, 28 Aug 2009 15:10:57 +0000 (17:10 +0200)
src/gallium/state_trackers/xorg/xorg_exa.c

index acc49f4c2b1d221172e818ba20fae42c5f094123..1650a06ca68b02abd7bf060ea6fd6edbbb7e2963 100644 (file)
@@ -154,6 +154,7 @@ ExaFinishAccess(PixmapPtr pPix, int index)
        exa->scrn->transfer_unmap(exa->scrn, priv->map_transfer);
        exa->scrn->tex_transfer_destroy(priv->map_transfer);
        priv->map_transfer = NULL;
+       pPix->devPrivate.ptr = NULL;
     }
 }