projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f37cccd
)
mesa: fix comments, s/texture/buffer/
author
Brian Paul
<brianp@vmware.com>
Thu, 7 May 2009 19:10:48 +0000
(13:10 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 7 May 2009 20:34:09 +0000
(14:34 -0600)
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index 641e5d7c3b3d0efa95edcfa626bbf1e4eeff0ee6..a983376251825f35e485ae452234892e340b5b1c 100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-194,7
+194,7
@@
_mesa_reference_buffer_object(GLcontext *ctx,
return;
if (*ptr) {
- /* Unreference the old
texture
*/
+ /* Unreference the old
buffer
*/
GLboolean deleteFlag = GL_FALSE;
struct gl_buffer_object *oldObj = *ptr;
@@
-227,7
+227,7
@@
_mesa_reference_buffer_object(GLcontext *ctx,
ASSERT(!*ptr);
if (bufObj) {
- /* reference new
texture
*/
+ /* reference new
buffer
*/
/*_glthread_LOCK_MUTEX(tex->Mutex);*/
if (bufObj->RefCount == 0) {
/* this buffer's being deleted (look just above) */