st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.
authorMichel Dänzer <daenzer@vmware.com>
Mon, 4 Jan 2010 15:54:29 +0000 (16:54 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Mon, 4 Jan 2010 15:54:29 +0000 (16:54 +0100)
commit1e414df894fc70b7024eb38c812e582336014974
tree1734ec0ab49ccec9c1c5c78dc2ee68dffb860a10
parentacd1451393068762a46a06aee3af9e94bc09e147
st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.

This was already done in st_TexImage() but was missed between incremental
changes to st_TexSubimage().
src/mesa/state_tracker/st_cb_texture.c