remove some unneeded code

This commit is contained in:
Brian Paul 2006-03-26 05:15:21 +00:00
parent 14e9700621
commit af6a480117
2 changed files with 0 additions and 14 deletions

View file

@ -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);
}
}

View file

@ -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
}