OSDN Git Service

meta: Don't leave the VBO bound after _mesa_meta_setup_vertex_objects
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 3 Nov 2015 04:11:02 +0000 (20:11 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Nov 2015 19:50:29 +0000 (11:50 -0800)
commite69c2746616dee4121d3a4a0f7e3127755df37e4
treeec73db74ad0228c8ed1cfa024d3fe0cea46ff501
parentfa4b6a78fa36f03a53082474f57ef559a6bf3643
meta: Don't leave the VBO bound after _mesa_meta_setup_vertex_objects

Meta currently does this, but future changes will make this impossible.
Explicitly do it as a step in the patch series now to catch any possible
kinks.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
(cherry picked from commit 3b5a7d450dea9bfadf1d72338f4418c87340805b)
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c
src/mesa/drivers/common/meta_generate_mipmap.c
src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c