diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-09-01 00:24:53 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-09-01 00:44:36 +0100 |
commit | 7b32da0b11a769be057cdd3e619d582b433bbb0e (patch) | |
tree | db2da192d34090d7659f420b5e6379e38c199f2c /src/gallium/state_trackers | |
parent | c4a3e036ed1c755a291018251c4f55c45ac17079 (diff) | |
download | external_mesa3d-7b32da0b11a769be057cdd3e619d582b433bbb0e.zip external_mesa3d-7b32da0b11a769be057cdd3e619d582b433bbb0e.tar.gz external_mesa3d-7b32da0b11a769be057cdd3e619d582b433bbb0e.tar.bz2 |
st/xorg: Fix crash in MPH
Diffstat (limited to 'src/gallium/state_trackers')
-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 305d75d..3697d26 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -485,7 +485,7 @@ ExaModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, exa->scrn->tex_surface_destroy(dst_surf); exa->scrn->tex_surface_destroy(priv->src_surf); priv->src_surf = NULL; - } else { + } else if (pPixmap->devPrivate.ptr) { struct pipe_transfer *transfer; if (priv->map_count != 0) |