diff options
author | Mathias Fröhlich <[email protected]> | 2016-06-17 08:09:04 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2016-07-31 10:05:45 +0200 |
commit | f7cb46a9721ace5ec6d1e51cdc4ce70348605701 (patch) | |
tree | 13c01a8136b8f49a7d76faa2b4cb339213c245ef /m4/.gitignore | |
parent | f696b712d7b7c7b701667691bc044b42c1195a69 (diff) |
mesa: Unbind deleted vbo using _mesa_bind_vertex_buffer.
When a vertex buffer object gets deleted, it is unbound
at the VAO. To do this use _mesa_bind_vertex_buffer instead
of plain unreferencing the buffer object. This keeps the VAOs
internal state consistent. In this case it showed up with
gl_vertex_array_object::VertexAttribBufferMask getting out of
sync.
Signed-off-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'm4/.gitignore')
0 files changed, 0 insertions, 0 deletions