mesa: use internal function when deleting buffers
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 4 Apr 2017 06:38:35 +0000 (16:38 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 5 Apr 2017 22:25:36 +0000 (08:25 +1000)
commit1bfeb65397bda0839b1d80a3e540d544a2304f88
tree76b801a1c428086c8e1a05e11088a00a8d674871
parent8feb5bb40235abb39198025ea890934e04c21c1c
mesa: use internal function when deleting buffers

This avoids validation and looking up the buffer target for a second time.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/bufferobj.c