summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texrender.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texrender.c')
-rw-r--r--src/mesa/main/texrender.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c
index c79f47182c2..85565bfb1d4 100644
--- a/src/mesa/main/texrender.c
+++ b/src/mesa/main/texrender.c
@@ -250,14 +250,4 @@ _mesa_finish_render_texture(GLcontext *ctx,
/* The renderbuffer texture wrapper will get deleted by the
* normal mechanism for deleting renderbuffers.
*/
-#if 0
- if (att->Renderbuffer) {
- att->Renderbuffer->RefCount--;
- }
- if (att->Renderbuffer->RefCount <= 0) {
- _mesa_debug(ctx, "%s refcount == 0!\n", __FUNCTION__);
- }
-#endif
}
-
-