summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-26 05:15:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-26 05:15:21 +0000
commitaf6a48011776eeb0c08f3a9a845736f298a6d34b (patch)
tree60118e42faee0436d0f9340810d72719ab5a5ea3
parent14e9700621d02a8d1d56b929d8f09b90705f2abc (diff)
remove some unneeded codetexman_0_1_20060325
-rw-r--r--src/mesa/main/fbobject.c4
-rw-r--r--src/mesa/main/texrender.c10
2 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 8c5bde6edd..ec690bdbf7 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 c79f47182c..85565bfb1d 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
}
-
-