mesa: split unmap_buffer() in two
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 4 May 2017 03:26:45 +0000 (13:26 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 7 May 2017 05:29:33 +0000 (15:29 +1000)
commit0b2e4da80a00a2d40c82f39b5d369664b63ef8b4
tree60e8593e4a1ce04494e88b2258d8ff9989717d9c
parent6c3768692e4edd7f61080239f34306be0d43bafd
mesa: split unmap_buffer() in two

This will allow us to implement KHR_no_error support for unmap
functions.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/bufferobj.c