summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-07-04 09:55:48 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-04 10:04:03 -0600
commitb931a0c1d9128b7fb402915089e1fd2496f65349 (patch)
tree5ab4a1d787b4ebabd1e8699b70a410b4327e7224
parent9157b1e09a8948e9e084ed3ce2a3537a6bac2005 (diff)
mesa: remove incorrect assertion
-rw-r--r--src/mesa/main/fbobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 6ef90578c1..4190a95e41 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -180,7 +180,6 @@ _mesa_remove_attachment(GLcontext *ctx, struct gl_renderbuffer_attachment *att)
ASSERT(!att->Texture);
}
if (att->Type == GL_TEXTURE || att->Type == GL_RENDERBUFFER_EXT) {
- ASSERT(att->Renderbuffer);
ASSERT(!att->Texture);
_mesa_reference_renderbuffer(&att->Renderbuffer, NULL); /* unbind */
ASSERT(!att->Renderbuffer);