r600g: don't unmap if we haven't mapped
authorDave Airlie <airlied@redhat.com>
Fri, 13 May 2011 04:03:47 +0000 (14:03 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 13 May 2011 04:03:47 +0000 (14:03 +1000)
commitc7b1497f4ece1f23ef934fa97ad9040350bc0f23
tree076028a1f48ce83937ed0390498b40e3a1d685c2
parent8a506374536497495bac27db6cd15ffd06bb01a2
r600g: don't unmap if we haven't mapped

should fix https://bugs.freedesktop.org/show_bug.cgi?id=37157

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/radeon_bo.c