diff options
author | Matt Turner <[email protected]> | 2015-06-10 13:31:06 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-09-25 14:08:31 -0700 |
commit | d4b0e0b717b698682700bf1cd9d448043a57701d (patch) | |
tree | 2bd36773654cd3ff676ee7e8378b9d45308b3768 /src/mesa/main/shaderobj.c | |
parent | c8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d (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/shaderobj.c')
-rw-r--r-- | src/mesa/main/shaderobj.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c index 110a18e1e2c..71d4ed69285 100644 --- a/src/mesa/main/shaderobj.c +++ b/src/mesa/main/shaderobj.c @@ -69,8 +69,6 @@ _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, assert(old->RefCount > 0); old->RefCount--; - /*printf("SHADER DECR %p (%d) to %d\n", - (void*) old, old->Name, old->RefCount);*/ deleteFlag = (old->RefCount == 0); if (deleteFlag) { @@ -86,8 +84,6 @@ _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, if (sh) { /* reference new */ sh->RefCount++; - /*printf("SHADER INCR %p (%d) to %d\n", - (void*) sh, sh->Name, sh->RefCount);*/ *ptr = sh; } } @@ -209,10 +205,6 @@ _mesa_reference_shader_program_(struct gl_context *ctx, assert(old->RefCount > 0); old->RefCount--; -#if 0 - printf("ShaderProgram %p ID=%u RefCount-- to %d\n", - (void *) old, old->Name, old->RefCount); -#endif deleteFlag = (old->RefCount == 0); if (deleteFlag) { @@ -227,10 +219,6 @@ _mesa_reference_shader_program_(struct gl_context *ctx, if (shProg) { shProg->RefCount++; -#if 0 - printf("ShaderProgram %p ID=%u RefCount++ to %d\n", - (void *) shProg, shProg->Name, shProg->RefCount); -#endif *ptr = shProg; } } |