mesa/bufferobj: make _mesa_delete_buffer_object externally accessible
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 6 Jan 2016 02:47:04 +0000 (21:47 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Jan 2016 22:05:54 +0000 (17:05 -0500)
commit6aed083b9304cd718ee5bc7839a6222b982d3e3b
treec64641fb9c38223410cf661d3022ee9fd8e36f15
parentf41b6cfb07ede2be053c57e38d4d6b9433f90bf1
mesa/bufferobj: make _mesa_delete_buffer_object externally accessible

gl_buffer_object has grown more complicated and requires cleanup. Using this
function from drivers will be more future-proof.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h