summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-04-02 09:55:55 -0600
committerBrian <[email protected]>2007-04-02 09:57:27 -0600
commit3fe47d5c57dfe20a3336df3b9cb2e37f866fe603 (patch)
tree624ab63083c17d5eccaf20495558d17e8d3486b9 /src/mesa/main
parent3fd88089c03f2dbe634ba2611955c6d0a6b2ccd5 (diff)
updated debug printf
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/renderbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index 49706b52516..1145e91e3b4 100644
--- a/src/mesa/main/renderbuffer.c
+++ b/src/mesa/main/renderbuffer.c
@@ -2152,7 +2152,7 @@ _mesa_reference_renderbuffer(struct gl_renderbuffer **ptr,
_glthread_LOCK_MUTEX(oldRb->Mutex);
ASSERT(oldRb->RefCount > 0);
oldRb->RefCount--;
- /*printf("RB DECR %p to %d\n", (void*) oldRb, oldRb->RefCount);*/
+ /*printf("RB DECR %p (%d) to %d\n", (void*) oldRb, oldRb->Name, oldRb->RefCount);*/
deleteFlag = (oldRb->RefCount == 0);
_glthread_UNLOCK_MUTEX(oldRb->Mutex);
@@ -2167,7 +2167,7 @@ _mesa_reference_renderbuffer(struct gl_renderbuffer **ptr,
/* reference new renderbuffer */
_glthread_LOCK_MUTEX(rb->Mutex);
rb->RefCount++;
- /*printf("RB REF %p to %d\n", (void*)rb, rb->RefCount);*/
+ /*printf("RB INCR %p (%d) to %d\n", (void*) rb, rb->Name, rb->RefCount);*/
_glthread_UNLOCK_MUTEX(rb->Mutex);
*ptr = rb;
}