projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ee22c
)
mesa: remove incorrect refcounting adjustment in adjust_buffer_object_ref_counts()
author
Brian Paul
<brianp@vmware.com>
Fri, 30 Jan 2009 22:24:13 +0000
(15:24 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 30 Jan 2009 22:35:43 +0000
(15:35 -0700)
Fixes bug 19835. However, a more elaborate fix should be implemented someday
which uses proper reference counting for gl_array_object.
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index 98173cf78627f6956635255465bea23c482d2372..218e0aeb6b750913d1a75f995938423c88104418 100644
(file)
--- 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;
}