mesa: unmap the immediate mode VB before destroying it
authorBrian Paul <brianp@vmware.com>
Mon, 19 Apr 2010 16:27:55 +0000 (10:27 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Apr 2010 16:27:57 +0000 (10:27 -0600)
commit96b0807253a491442e336844f997fdc4e1761303
tree4b1d605f144469339f1b688ce8a5ba05103856c3
parenta59771fb5305a4a8bda35bc7175eceecd0a950ee
mesa: unmap the immediate mode VB before destroying it

Fixes failed assertion from fd.o bug 27713.

The assertion was added with the new resource/transfer changes.
This patch could apply to the 7.8 branch but it's not essential.
src/mesa/vbo/vbo_exec_api.c