diff options
author | Jerome Glisse <jglisse@redhat.com> | 2013-02-08 18:57:42 -0500 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2013-02-08 19:01:19 -0500 |
commit | 3310acdf4756feb82bf043e7663b6dd8d6e3f7c9 (patch) | |
tree | 781d21e56587d6a48a59a76c0bb32096d740afcd | |
parent | 1fe007399c1ed28b8cef9d4f040164480423f2c9 (diff) | |
download | external_mesa3d-3310acdf4756feb82bf043e7663b6dd8d6e3f7c9.zip external_mesa3d-3310acdf4756feb82bf043e7663b6dd8d6e3f7c9.tar.gz external_mesa3d-3310acdf4756feb82bf043e7663b6dd8d6e3f7c9.tar.bz2 |
xorg: fix exa finish access
The exa core will already set the pointer to NULL prior calling
the callback function. So don't bail out in the callback if it's
already NULL.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index f010be6..3e764f8 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -318,7 +318,7 @@ ExaFinishAccess(PixmapPtr pPix, int index) if (!priv) return; - if (!priv->map_transfer || pPix->devPrivate.ptr == NULL) + if (!priv->map_transfer) return; exa_debug_printf("ExaFinishAccess %d\n", index); |