diff options
-rw-r--r-- | src/mesa/main/fbobject.c | 4 | ||||
-rw-r--r-- | src/mesa/main/texrender.c | 10 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 8c5bde6edd9..ec690bdbf7f 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -1068,10 +1068,6 @@ _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer) if (ctx->Driver.BindFramebuffer) { ctx->Driver.BindFramebuffer(ctx, target, newFb); } - - if (ctx->Driver.BindFramebuffer) { - ctx->Driver.BindFramebuffer(ctx, target, newFb); - } } 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 } - - |