meta: Release resources used by _mesa_meta_DrawPixels
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 14 Dec 2013 19:58:45 +0000 (11:58 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Feb 2014 15:49:08 +0000 (16:49 +0100)
commitfcb498302bff912ca4f3169d37cc04b58e77d0fa
treef0dae899268560bf7b731a168245d24899fc4fae
parent2d3f92e881dbd9d1aff17bba0d182c8ef645a2ca
meta: Release resources used by _mesa_meta_DrawPixels

_mesa_meta_DrawPixels creates a VAO and (potentially) two fragment
programs, but none of them are ever released.  Leaking piles of memory
is generally frowned upon.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "9.1 9.2 10.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/common/meta.c