diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-26 05:15:21 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-26 05:15:21 +0000 |
commit | af6a48011776eeb0c08f3a9a845736f298a6d34b (patch) | |
tree | 60118e42faee0436d0f9340810d72719ab5a5ea3 | |
parent | 14e9700621d02a8d1d56b929d8f09b90705f2abc (diff) |
remove some unneeded codetexman_0_1_20060325
-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 } - - |