From: Jakob Bornecrantz Date: Fri, 28 Aug 2009 14:56:02 +0000 (+0200) Subject: st/xorg: Null devPrivate.ptr when unmapping X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d80242c2546f795e37ce88955c823c054fdfe217;p=mesa.git st/xorg: Null devPrivate.ptr when unmapping --- diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index acc49f4c2b1..1650a06ca68 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -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; } }