summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.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/program/program.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/program/program.c')
-rw-r--r--src/mesa/program/program.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 2d03bba3d12..18d6754a99a 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -465,13 +465,6 @@ _mesa_reference_program_(struct gl_context *ctx,
GLboolean deleteFlag;
/*mtx_lock(&(*ptr)->Mutex);*/
-#if 0
- printf("Program %p ID=%u Target=%s Refcount-- to %d\n",
- *ptr, (*ptr)->Id,
- ((*ptr)->Target == GL_VERTEX_PROGRAM_ARB ? "VP" :
- ((*ptr)->Target == GL_GEOMETRY_PROGRAM_NV ? "GP" : "FP")),
- (*ptr)->RefCount - 1);
-#endif
assert((*ptr)->RefCount > 0);
(*ptr)->RefCount--;
@@ -490,13 +483,6 @@ _mesa_reference_program_(struct gl_context *ctx,
if (prog) {
/*mtx_lock(&prog->Mutex);*/
prog->RefCount++;
-#if 0
- printf("Program %p ID=%u Target=%s Refcount++ to %d\n",
- prog, prog->Id,
- (prog->Target == GL_VERTEX_PROGRAM_ARB ? "VP" :
- (prog->Target == GL_GEOMETRY_PROGRAM_NV ? "GP" : "FP")),
- prog->RefCount);
-#endif
/*mtx_unlock(&prog->Mutex);*/
}