summaryrefslogtreecommitdiff
path: root/src/glx/indirect_vertex_array.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-08-08 15:41:36 -0700
committerIan Romanick <ian.d.romanick@intel.com>2013-08-13 17:53:33 -0700
commitef83bd2b9581c680439a5d22979c2f1b49b2834d (patch)
tree52c71e329e90a1ffa50621ee59d9fa9a587dfcbc /src/glx/indirect_vertex_array.c
parent438cc6bc49d109f9ddeed6a741c4f0b8f1c4ffe2 (diff)
mesa: Use _mesa_detach_renderbuffer when deleting a texture
The functional change is that now invalidate_framebuffer is called if the texture is actually detached from one of the currently bound FBOs. Previously this was only done for renderbuffers. The remaining changes make the texture delete path look more similar to the renderbuffer delete path. This includes adding relevant spec quotations to justify the behavior. Fixes piglit fbo-incomplete "delete texture of bound FBO" test. v2: Move 'fb->Attachment[i].Texture == att' check from previous patch to this patch... where it was intended to be in the first place. Noticed by Chad. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Cc: "9.2" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/glx/indirect_vertex_array.c')
0 files changed, 0 insertions, 0 deletions