mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
mesa: remove incorrect refcounting adjustment in adjust_buffer_object_ref_counts()
Fixes bug 19835. However, a more elaborate fix should be implemented someday which uses proper reference counting for gl_array_object.
This commit is contained in:
parent
67ee22c89f
commit
88e0b92a74
1 changed files with 0 additions and 3 deletions
|
|
@ -1267,9 +1267,6 @@ adjust_buffer_object_ref_counts(struct gl_array_attrib *array, GLint step)
|
|||
array->ArrayObj->TexCoord[i].BufferObj->RefCount += step;
|
||||
for (i = 0; i < VERT_ATTRIB_MAX; i++)
|
||||
array->ArrayObj->VertexAttrib[i].BufferObj->RefCount += step;
|
||||
|
||||
array->ArrayBufferObj->RefCount += step;
|
||||
array->ElementArrayBufferObj->RefCount += step;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue