r600g: Don't blindly unmap NULL->size.
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 16 Aug 2010 20:18:37 +0000 (22:18 +0200)
committerHenri Verbeet <hverbeet@gmail.com>
Sun, 22 Aug 2010 10:43:11 +0000 (12:43 +0200)
commit8a878c266a8bf50b49d3ef8c5984790581e33133
treebd5ad99c5b0cd93fe48bbc0b7e15a50ddc36c14f
parent04094b2da2030a82ff49e647fc8658502f02cea8
r600g: Don't blindly unmap NULL->size.

There may actually be something mapped in that range, especially for large
buffers like e.g. the GL Drawable.
src/gallium/winsys/r600/drm/radeon_bo.c