mesa: Don't resurrect deleted ARB VAOs in glPopClientAttrib
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 21 Jan 2012 01:23:02 +0000 (17:23 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Jan 2012 20:31:04 +0000 (12:31 -0800)
commit34c353ce463960afdf64fa2be1f155b8b7f6c70c
tree9e326284a369485f6b08c0ca1b005035e5966633
parent09639901530da7df7347428512c2bee86af1ef8e
mesa: Don't resurrect deleted ARB VAOs in glPopClientAttrib

When ARB VAOs are used, glPopClientAttrib does not resurrect a deleted
VAO or VBO.  This difference between the two spec is, unfortunately,
not very well spelled out in the specs.

Fixes oglc vao(advanced.pushPop.deleteVAO) and
vao(advanced.pushPop.deleteVBO) tests.

NOTE: This is a candidate for release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/attrib.c