summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.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/arrayobj.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/arrayobj.c')
-rw-r--r--src/mesa/main/arrayobj.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 7c4004043de..28851434133 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -200,10 +200,6 @@ _mesa_reference_vao_(struct gl_context *ctx,
mtx_lock(&oldObj->Mutex);
assert(oldObj->RefCount > 0);
oldObj->RefCount--;
-#if 0
- printf("ArrayObj %p %d DECR to %d\n",
- (void *) oldObj, oldObj->Name, oldObj->RefCount);
-#endif
deleteFlag = (oldObj->RefCount == 0);
mtx_unlock(&oldObj->Mutex);
@@ -227,10 +223,6 @@ _mesa_reference_vao_(struct gl_context *ctx,
}
else {
vao->RefCount++;
-#if 0
- printf("ArrayObj %p %d INCR to %d\n",
- (void *) vao, vao->Name, vao->RefCount);
-#endif
*ptr = vao;
}
mtx_unlock(&vao->Mutex);