meta: Track the _mesa_meta_DrawPixels VBO just like the others
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 14 Dec 2013 20:03:01 +0000 (12:03 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 11 Feb 2014 22:23:55 +0000 (14:23 -0800)
commitbeb33fc5b719f608db2036360f1a2e482ec3e4ec
tree8d20d2ce489aee2e2b1d8c8b0f5a9548192d998b
parent83c90c9239404412dc61aa3b0229ebd56a1406cf
meta: Track the _mesa_meta_DrawPixels VBO just like the others

All of the other meta routines have a particular pattern for creating
and tracking the VAO and VBO.  This one function deviated from that
pattern for no apparent reason.

Almost all of the code added in this patch will be removed shortly.

v2: Drop glDeleteBuffers() of the old, now-uninitialized vbo variable.
    Fixes getteximage-formats and fbo-mipmap-copypix regression when "2"
    landed in the variable (change by anholt).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c