diff options
author | Brian <[email protected]> | 2007-03-06 16:26:22 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-06 16:26:22 -0700 |
commit | e69da9d02ecdf47d930276783f8b8df1a3cd99dd (patch) | |
tree | 982ab0d9e85664edebb5b05cd7289c4fc0a0a135 /src/mesa/main/fbobject.c | |
parent | 1a6baf092b4c31d5fd30c934f1a17d69c9689f12 (diff) |
explicit calls to _mesa_unreference_framebuffer() not always needed now
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 6608eefc6c0..f7e870b49cd 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -1014,7 +1014,6 @@ _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer) */ if (bindReadBuf) { - _mesa_unreference_framebuffer(&ctx->ReadBuffer); _mesa_reference_framebuffer(&ctx->ReadBuffer, newFb); } @@ -1022,7 +1021,6 @@ _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer) /* check if old FB had any texture attachments */ check_end_texture_render(ctx, ctx->DrawBuffer); /* check if time to delete this framebuffer */ - _mesa_unreference_framebuffer(&ctx->DrawBuffer); _mesa_reference_framebuffer(&ctx->DrawBuffer, newFb); if (newFb->Name != 0) { /* check if newly bound framebuffer has any texture attachments */ |