updated debug printf
authorBrian <brian@yutani.localnet.net>
Mon, 2 Apr 2007 15:55:55 +0000 (09:55 -0600)
committerBrian <brian@yutani.localnet.net>
Mon, 2 Apr 2007 15:57:27 +0000 (09:57 -0600)
src/mesa/main/renderbuffer.c

index 49706b52516405b04e7e8648c6328a4c13446dfd..1145e91e3b4bc0e155bd7c431122d17403fa8edf 100644 (file)
@@ -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;
    }