Mesa (master): st/xorg: Null devPrivate.ptr when unmapping
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Fri Aug 28 16:22:51 UTC 2009
Module: Mesa
Branch: master
Commit: d80242c2546f795e37ce88955c823c054fdfe217
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d80242c2546f795e37ce88955c823c054fdfe217
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Fri Aug 28 16:56:02 2009 +0200
st/xorg: Null devPrivate.ptr when unmapping
---
src/gallium/state_trackers/xorg/xorg_exa.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c
index acc49f4..1650a06 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;
}
}
More information about the mesa-commit
mailing list