summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/samplerobj.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/samplerobj.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/samplerobj.c')
-rw-r--r--src/mesa/main/samplerobj.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c
index 32180fb1ba2..241b5cb31fd 100644
--- a/src/mesa/main/samplerobj.c
+++ b/src/mesa/main/samplerobj.c
@@ -91,10 +91,6 @@ _mesa_reference_sampler_object_(struct gl_context *ctx,
/*mtx_lock(&oldSamp->Mutex);*/
assert(oldSamp->RefCount > 0);
oldSamp->RefCount--;
-#if 0
- printf("SamplerObj %p %d DECR to %d\n",
- (void *) oldSamp, oldSamp->Name, oldSamp->RefCount);
-#endif
deleteFlag = (oldSamp->RefCount == 0);
/*mtx_unlock(&oldSamp->Mutex);*/
@@ -118,10 +114,6 @@ _mesa_reference_sampler_object_(struct gl_context *ctx,
}
else {
samp->RefCount++;
-#if 0
- printf("SamplerObj %p %d INCR to %d\n",
- (void *) samp, samp->Name, samp->RefCount);
-#endif
*ptr = samp;
}
/*mtx_unlock(&samp->Mutex);*/