summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/renderbuffer.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-06-10 13:31:06 -0700
committerMatt Turner <[email protected]>2015-09-25 14:08:31 -0700
commitd4b0e0b717b698682700bf1cd9d448043a57701d (patch)
tree2bd36773654cd3ff676ee7e8378b9d45308b3768 /src/mesa/main/renderbuffer.c
parentc8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d (diff)
mesa: Remove debugging code from _mesa_reference_*.
Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/renderbuffer.c')
-rw-r--r--src/mesa/main/renderbuffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index e9d129a1dbb..b0d4c8cca26 100644
--- a/src/mesa/main/renderbuffer.c
+++ b/src/mesa/main/renderbuffer.c
@@ -174,7 +174,6 @@ _mesa_reference_renderbuffer_(struct gl_renderbuffer **ptr,
mtx_lock(&oldRb->Mutex);
assert(oldRb->RefCount > 0);
oldRb->RefCount--;
- /*printf("RB DECR %p (%d) to %d\n", (void*) oldRb, oldRb->Name, oldRb->RefCount);*/
deleteFlag = (oldRb->RefCount == 0);
mtx_unlock(&oldRb->Mutex);
@@ -191,7 +190,6 @@ _mesa_reference_renderbuffer_(struct gl_renderbuffer **ptr,
/* reference new renderbuffer */
mtx_lock(&rb->Mutex);
rb->RefCount++;
- /*printf("RB INCR %p (%d) to %d\n", (void*) rb, rb->Name, rb->RefCount);*/
mtx_unlock(&rb->Mutex);
*ptr = rb;
}