From 3fe47d5c57dfe20a3336df3b9cb2e37f866fe603 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 2 Apr 2007 09:55:55 -0600 Subject: [PATCH] updated debug printf --- src/mesa/main/renderbuffer.c | 4 ++-- 1 file 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; } -- 2.30.2