diff options
author | Jakob Bornecrantz <[email protected]> | 2009-08-28 16:56:02 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-08-28 17:10:57 +0200 |
commit | d80242c2546f795e37ce88955c823c054fdfe217 (patch) | |
tree | c8145b9583834fa4d34c3ef0ade530229131d4e9 | |
parent | fdc8ec60eb93de56f20c96376755e76bb41bfd58 (diff) |
st/xorg: Null devPrivate.ptr when unmapping
-rw-r--r-- | 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 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; } } |