summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-30 15:24:13 -0700
committerBrian Paul <brianp@vmware.com>2009-01-30 15:35:43 -0700
commit88e0b92a747d9b14885010029133fa1221696e5e (patch)
tree6e1373c42d85dc877e743a2937e8a0c6e1e5d72d /src
parent67ee22c89f42146e7befb2fdd39bdd68a5258c30 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/attrib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 98173cf786..218e0aeb6b 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -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;
}