From d80242c2546f795e37ce88955c823c054fdfe217 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 28 Aug 2009 16:56:02 +0200 Subject: [PATCH] st/xorg: Null devPrivate.ptr when unmapping --- src/gallium/state_trackers/xorg/xorg_exa.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.30.2